Commit Graph

191 Commits (c658aa2f527a96a724385869c2c7d2e70ac75600)

Author SHA1 Message Date
Gabor Juhos 7e9b27206f [rdc] sync kernel config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11525 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-17 14:01:07 +00:00
Gabor Juhos 478b3b32f4 [kernel] upgrade to 2.6.25.7, and refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11523 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-17 12:57:04 +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 2efd587b18 Use 2.6.25.6 for rdc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-12 08:07:08 +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
Gabor Juhos a19157e8ba [rdc] refresh kernel patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-19 12:11:46 +00:00
Gabor Juhos 6e01507c1f [kernel] upgrade to latest kernel versions (2.6.25.4; 2.6.24.7; 2.6.23.17; 2.6.22.19)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11184 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-18 20:12:54 +00:00
Nicolas Thill 60ef52b3f1 enable proper PCI & USB support detection at config-time by disabling CONFIG_PCI & CONFIG_USB entries in generic/config and enabling them on targets where appropriate
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-09 17:08:51 +00:00
Imre Kaloz 9053c9678e naming convention
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10965 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-28 16:28:29 +00:00
Imre Kaloz f0c04a90e6 upgrade to 2.6.24.5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-28 10:23:36 +00:00
Nicolas Thill f9967ea05f properly disable CONFIG_CRYPTO_HW
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-27 12:31:50 +00:00
Travis Kemen 952c0753cd add missing symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-25 13:02:20 +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 12f2d17a7b Fix bzImage copy with 2.6.24 kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10574 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-09 11:08:38 +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
Imre Kaloz 884aca7088 upgrade & standardize kernel versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-11 10:50:40 +00:00
Florian Fainelli 96746d4510 Also generate http uploadable images for Airlink AR525w
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10229 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-21 14:11:01 +00:00
Florian Fainelli 8300810d10 Upgrade rdc to 2.6.23.14
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-21 13:26:48 +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
Felix Fietkau 62ccdcedae make the image filenames a bit shorter
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-10 23:08:11 +00:00
Florian Fainelli d0b5834db8 We are now at .23.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-23 08:13:12 +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 f4e6737ed1 Fix profile/image generation for dir450
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9320 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-14 15:12:14 +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 30b9dbe50f RDC is not broken with trunk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9140 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-05 14:00:36 +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 e9b26c54be Use PCI for rdc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-02 14:24:51 +00:00
Florian Fainelli 6ec7dc5bc7 RDC vendor id is unknown
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-02 14:24:17 +00:00
Florian Fainelli 0c04efed14 Build all firmware until we put back profiles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-02 14:23:43 +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
Gabor Juhos 9233c3cdb9 get rid of per-profile base-files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9069 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-29 14:27:54 +00:00
Felix Fietkau dab23ede10 clean up jffs2 config options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-19 20:58:16 +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 6665a2c1dc adapt profiles for subtarget changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08 20:04:43 +00:00
Felix Fietkau 6bcd07afdd major target cleanup. it is now possible to have subtargets that can override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08 19:55:42 +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