Florian Fainelli
0d40a2f95b
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>
SVN-Revision: 11508
2008-06-16 13:25:14 +00:00
Florian Fainelli
01e594e704
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>
SVN-Revision: 11507
2008-06-16 13:24:41 +00:00
Florian Fainelli
368f07fc97
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>
SVN-Revision: 11506
2008-06-16 13:24:09 +00:00
Florian Fainelli
23d1a5bd88
Use 2.6.25 for rdc321x
...
SVN-Revision: 11439
2008-06-11 16:38:37 +00:00
Florian Fainelli
ef62f5f24d
Use an update r6040 driver
...
SVN-Revision: 10754
2008-04-07 07:50:45 +00:00
Florian Fainelli
c592ef61b3
Upgrade rdc to 2.6.24
...
SVN-Revision: 10453
2008-02-13 14:35:18 +00:00
Florian Fainelli
e22d12ddfc
Add support for the gpio connected reset button
...
SVN-Revision: 10173
2008-01-11 15:19:13 +00:00
Florian Fainelli
e9d7dc5803
Resync kernel config, do not enable the setup file
...
SVN-Revision: 9329
2007-10-15 17:26:27 +00:00
Florian Fainelli
f61a627092
Typo on PCI ids
...
SVN-Revision: 9328
2007-10-15 17:04:34 +00:00
Florian Fainelli
9dc51096e6
Add the RDC PCI ids for a fancier PCI device table.Return the system name on boot.
...
SVN-Revision: 9327
2007-10-15 16:13:25 +00:00
Florian Fainelli
4bc640743a
Upgrade rdc to 2.6.23, fix the r6040 driver printk's
...
SVN-Revision: 9267
2007-10-12 11:21:59 +00:00
Florian Fainelli
e54eec19b7
Clean up the r6040 driver using checkpatch
...
SVN-Revision: 9184
2007-10-08 08:01:30 +00:00
Florian Fainelli
9a6b4fa7da
Led is not active low by default, register the watchdog
...
SVN-Revision: 9138
2007-10-05 13:50:21 +00:00
Florian Fainelli
db7bf6f616
Rewrite platform code to be smarter
...
SVN-Revision: 9094
2007-10-02 14:23:27 +00:00
Florian Fainelli
8c612a1cdb
Add support for the D-Link DIR-450, thanks to Macpaul Lin !
...
SVN-Revision: 8790
2007-09-16 10:57:29 +00:00
Felix Fietkau
56231056ea
strip the kernel version suffix from target directories, except for brcm-2.4 (the -2.4 will be included in the board name here). CONFIG_LINUX_<ver>_<board> becomes CONFIG_TARGET_<board>, same for profiles.
...
SVN-Revision: 8653
2007-09-06 16:27:37 +00:00