Commit Graph

21 Commits (d1b274fa4d89285ef8a8e80f439ec8db396e1776)

Author SHA1 Message Date
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 e3ef3e2823 Put the files created by the lzma decompressor patch in the files/
directory.
Add some early_printk debugging to the lzma decompressor to help
track down problems when upgrading from one kernel version to another


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-03 11:09:37 +00:00
Florian Fainelli 43ace503ee Put back 2.6.24 files as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11593 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-28 11:07:07 +00:00
Florian Fainelli b3aa2640a3 Put back 2.6.23 files for rdc, allowing to switch from one kernel version to another for testing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11592 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-28 11:06:32 +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 ff2afa0c9c Add support for the gpio connected reset button
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-11 15:19:13 +00:00
Florian Fainelli 8258760166 Resync kernel config, do not enable the setup file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-15 17:26:27 +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 b8d4702826 Add the RDC PCI ids for a fancier PCI device table.Return the system name on boot.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-15 16:13:25 +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 87997b15ff Led is not active low by default, register the watchdog
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-05 13:50:21 +00:00
Florian Fainelli 324c4009be Rewrite platform code to be smarter
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-02 14:23:27 +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