Florian Fainelli
537682b3c3
his patch mainly fixes the huge delay when we ping from the RDC device to another host (160-230 ms).
...
r6040_rx() was rewritten.
Further changes:
- fix a bug in hex2str(), which overwrote the source with a zero
- removed rx_free_desc counter; allocate skb inside r6040_rx() on the fly
- r6040_rx: don't take the error from the MLSR register (may be too late) but from the descriptor (we may have to allow these errors (via MCR0) there
- r6040_alloc_rxbufs() may fail due to lack of skb, added a return value
- changed some debugs
- more defines
- version: 0.18 -> 0.19
Signed-Off by Joerg Albert <jal2@gmx.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-16 13:25:14 +00:00
Florian Fainelli
1894163cbf
This patch applies to the RDC 32xx ethernet driver (svn r10754, first patch applied) and fixes the following issues:
...
- re-added the parent parameter to specify a netdevice to steal the MAC address from (optional).
- fixed null pointer access in r6040_rx() (lp->dev init. was missing)
- fixed "scheduling while atomic" endless loop if tx_timeout() was called (caused by the re-allocs of the buffers)
- fixed tx timeouts (tx irq weren't re-enabled on rx irq)
It adds some defines and cleans the code a bit (IMHO).
Signed-Off by Joerg Albert <jal2@gmx.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-16 13:24:41 +00:00
Florian Fainelli
74ac396acd
Hi,
...
this is the first of three patches to fix the ethernet driver of RDC R32xx applied to svn r10754.
It adds debugs and make some procedures (r6040_*) global symbols in order to help with debugging kernel oops. Version is increased from 0.16 to 0.18 to avoid conflicts with the driver variant metioned in the X-WRT forum (call 0.17.3) Tested on a Sitecom WL-153.
Signed-Off-By: Joerg Albert <jal2@gmx.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-16 13:24:09 +00:00
Imre Kaloz
cd1e2dd664
backport mv643xx ethernet changes from the Marvell git repo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-16 13:20:10 +00:00
Imre Kaloz
20df78baaf
enable AMD flash support and physmap on orion
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-16 13:18:58 +00:00
Gabor Juhos
eec1548bc9
[kernel] generic-2.6: oops, forgot to refresh the 2.6.25 IMQ patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11502 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-16 13:17:52 +00:00
Gabor Juhos
c5eeb74688
[kernel] generic-2.6: even newer IMQ patch for 2.6.25 and 2.6.26
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-16 12:57:56 +00:00
Imre Kaloz
fc166d1224
refresh generic 2.6.22 patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-16 12:40:48 +00:00
Imre Kaloz
368fcbcee7
fixup machid workaround, generate uImage manually
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11497 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-16 12:38:55 +00:00
Felix Fietkau
d6b78c826a
(5/6) bcm57xx: bcm4785 incomplete reboot
...
I noticed my wrt350n would not reliably reboot after entering
the reboot command. I found this code in the source for the
wrt600n. It corrects the problem, and the wrt350n reboots
reliably now.
Signed-off-by: Ben Pfountz <netprince (at) vt (dot) edu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11470 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-15 11:10:43 +00:00
Felix Fietkau
0c1bbd505a
(3/6) bcm57xx: preinit
...
This patch allows the bcm57xx module to work correctly with failsafe mode.
insmod doesn't return an error when a module loads but doesn't detect a switch.
I added the check_module function to load the module, then make sure
it doesn't just exit immediately. This allows preinit to only attempt to
load the bcm57xx module when switch-robo and switch-adm dont detect a switch.
The activate_gpio parameter to bcm57xx simply instructs the module to attempt
to activate the switch via gpio before probing for the switch.
Tested on wrt350n.
Signed-off-by: Ben Pfountz <netprince (at) vt (dot) edu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11468 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-15 11:10:13 +00:00
Felix Fietkau
7675a31a53
(2/6) bcm57xx: netconfig
...
Update the netconfig script to support boardtype 0x478. I've tested this
on the wrt350n, hopefully it will match the 600n as well.
Signed-off-by: Ben Pfountz <netprince (at) vt (dot) edu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-15 11:09:49 +00:00
Imre Kaloz
3a02933ef3
temporary hack to fixup the mach id for the wrt350nv2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-13 12:58:28 +00:00
Imre Kaloz
e48fee7183
openwrt partition map for the wrt350nv2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-13 12:14:39 +00:00
Imre Kaloz
99af7f0cff
workaround bogus CFI version for the wrt350nv2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-13 12:14:01 +00:00
Imre Kaloz
91aa7be624
upgrade orion and sync to 2.6.26-rc6
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-13 12:12:34 +00:00
Matteo Croce
4731f82a22
ar7: refresh patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11452 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-12 22:33:48 +00:00
Matteo Croce
19561f6f7c
avr32: clean and refresh patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-12 22:24:27 +00:00
Matteo Croce
689909e7e9
avr32: upgrade to 2.6.25.6
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-12 21:13:40 +00:00
Florian Fainelli
2efd587b18
Use 2.6.25.6 for rdc
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-12 08:07:08 +00:00
Florian Fainelli
af60e16a61
Use 2.6.25 for rdc321x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-11 16:38:37 +00:00
Imre Kaloz
a240b4c366
upgrade orion to 2.6.26-rc5
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-11 11:59:45 +00:00
Imre Kaloz
db81fa946e
upgrade to 2.6.25.6
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11435 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-11 11:38:39 +00:00
Imre Kaloz
f9993d6d19
refresh patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-11 11:37:08 +00:00
Imre Kaloz
a76a9eced2
add newer, fixed IMQ patch for 2.6.25 and 2.6.26
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-11 11:35:49 +00:00
Gabor Juhos
5f27e3969e
[kernel] generic-2.6: revert yaffs changes [11378], the new code is not working correctly on RouterBoards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11427 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-10 08:20:19 +00:00
Felix Fietkau
f4e7bdac42
large improvement for parallel builds. works without V=99 now and without warnings. tested with -j on an 2x dual core opteron machine
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-09 15:38:45 +00:00
Felix Fietkau
ef36c74b06
add missing fix for etrax compile without axis toolchain
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-09 15:38:27 +00:00
Felix Fietkau
a790561538
set marvell switch ATU ageing time to minimum instead of maximum - hopefully fixes some fonera 2.0 ethernet issues
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-09 10:31:46 +00:00
John Crispin
b8569f8857
remove proc and char dev from ifxmips gpio driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-08 08:21:20 +00:00
John Crispin
d91dfde056
adds gpiodev support to ifxmips
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11405 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-08 08:07:14 +00:00
Gabor Juhos
8715d963a1
[adm5120] add packages required by failsafe support to defaults
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11404 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-08 06:43:21 +00:00
Gabor Juhos
672d15d39e
[adm5120] add initial failsafe support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-08 06:38:26 +00:00
Gabor Juhos
0b40cc693a
[adm5120] add button devices to several boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11402 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-08 06:37:31 +00:00
Gabor Juhos
fce0151791
[rb532] fix image names in the wget2nand script
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11400 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-07 17:47:21 +00:00
Gabor Juhos
ef14abf2bb
[adm5120] fix image names in the whet2nand script
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11399 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-07 17:45:04 +00:00
Gabor Juhos
65e4e12512
[kernel] generic-2.6: refresh yaffs patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-07 17:14:22 +00:00
John Crispin
c3347ecaa8
fixes ifxmips pci support and adds GENERIC_GPIO
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-07 16:04:31 +00:00
John Crispin
c4a5d085bd
rename ifmips images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-07 14:58:08 +00:00
John Crispin
ac302f1569
several uboot fixes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-07 14:57:46 +00:00
John Crispin
5ae0849dd0
fixes ifxmips danube flashing using uboot, 2nd try
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11392 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-07 10:33:46 +00:00
John Crispin
abda3f6cb7
fixes ifxmips danube flashing using uboot
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11391 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-07 10:31:09 +00:00
John Crispin
8e893e4488
clean up etehrnet driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11389 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-07 10:12:15 +00:00
John Crispin
2bc5f0524a
missing file in ifxmips driver support patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11388 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-07 10:01:56 +00:00
Felix Fietkau
035367e412
fix spurious ifxmips u-boot build errors
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11387 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-07 09:30:59 +00:00
Gabor Juhos
825a171096
[kernel] add a chip_fixup function to the plat_nand driver on 2.6.23 as well ( closes #3513 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11386 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-07 08:35:09 +00:00
John Crispin
2cce2dc865
remove axis toolchain dependency for etrax
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11384 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-06 20:22:01 +00:00
John Crispin
ea5f3e97ac
finally fixes etrax toolchain problems, thanks nbd
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-06 20:12:05 +00:00
John Crispin
cc4dd09706
fixes au1000 ethernet support, signed off: Bruno Randolf
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11382 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-06 19:57:03 +00:00
Gabor Juhos
b4df3e81e7
[kernel] generic-2.6: yaffs cleanup
...
* reduce compiler warnings,
* renumber/rename patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11379 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-06 13:14:59 +00:00