Commit Graph

15 Commits (e964a25b6003d6500b563dfe343bf711a32115a3)

Author SHA1 Message Date
Florian Fainelli d1d3c6e690 Fix small typo in the ethernet driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-16 13:42:37 +00:00
Florian Fainelli c4a090057e Remove some configuration files, workarounds are now in the ethernet driver, thanks sn9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-28 18:52:50 +00:00
Florian Fainelli ef1ff562c1 Fix card_idx calculation, thanks sn9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12294 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-13 15:08:34 +00:00
Florian Fainelli a9a2a5146a Reinstate rdc bootability and force it to use init=/etc/preinit, thus the remove the hackish SetInitramfs actions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-05 13:42:36 +00:00
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
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
Florian Fainelli 338e0a12fb Use an update r6040 driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-07 07:50:45 +00:00
Florian Fainelli d315f17d40 Upgrade rdc to 2.6.24
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-13 14:35:18 +00:00
Florian Fainelli bb44a3c06d Typo on PCI ids
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9328 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-15 17:04:34 +00:00
Florian Fainelli dfb47af844 Upgrade rdc to 2.6.23, fix the r6040 driver printk's
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9267 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-12 11:21:59 +00:00
Florian Fainelli 73bf41af85 Clean up the r6040 driver using checkpatch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9184 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-08 08:01:30 +00:00
Florian Fainelli f2d76dbb81 Add support for the D-Link DIR-450, thanks to Macpaul Lin !
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-16 10:57:29 +00:00
Felix Fietkau 92558d67a4 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-06 16:27:37 +00:00