Commit Graph

11 Commits (53bf9c703a1049deae7fb4421c64e6d4c5c6e89e)

Author SHA1 Message Date
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 f61a627092 Typo on PCI ids
SVN-Revision: 9328
2007-10-15 17:04:34 +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 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