Florian Fainelli
4094d9c4a7
[rdc] include linux/magic.h instead of hardcoding the squashfs magic number
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16426 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-12 14:58:08 +00:00
Florian Fainelli
a2b513da76
[rdc] move files-2.6.28 to files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-10 21:55:44 +00:00
Florian Fainelli
caeafc290a
[rdc] move files to files-2.6.24, not required with newer kernels
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15380 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-24 12:30:01 +00:00
Felix Fietkau
5bdd866100
get rid of $Id$ - it has never helped us and it has broken too many patches ;)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-17 14:09:46 +00:00
Florian Fainelli
07a3803bc3
[rdc] fix wrong logic in MDIO code and second PHY address
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15034 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-25 09:15:30 +00:00
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
4cac8674cb
Flash mapping fixes from sn9, thanks
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13090 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-01 16:06:06 +00:00
Florian Fainelli
8863cdb3e6
Add flashmap support for AMIT and Zyxel boards, thanks sn9
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-28 18:53:41 +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
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