97 Commits

Author SHA1 Message Date
Matteo Croce
29fe318099 cpmac: patch to reimplement rx ring with EOQ markers to avoid reset storms (closes #2569)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10585 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-11 00:59:11 +00:00
Matteo Croce
3419049abe Add AG241 code pattern (fixes #1089)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10584 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-11 00:45:22 +00:00
Matteo Croce
f916618a9b [AR7] fix cpmac in a more elegant way, thanks Anton Vorontsov
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10546 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-05 18:20:44 +00:00
Matteo Croce
b3c8750ac0 [AR7] fixed_phy seems to be broken, this simple workaround fixes it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10545 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-05 12:59:54 +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
Matteo Croce
3bcb90f736 cpmac: reapply [9664]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10424 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-08 19:41:10 +00:00
Matteo Croce
c3314400dc [AR7] build cpmac driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10422 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-08 17:27:01 +00:00
Matteo Croce
d6c38f2f47 [AR7] Update kernel to 2.6.24
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10421 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-08 17:17:45 +00:00
Matteo Croce
38a72d306a [AR7] make current AR7 code 2.6.24 aware, for future use
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-08 00:21:08 +00:00
Matteo Croce
7563acf84d [AR7] more 2.6.24 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-07 18:40:24 +00:00
Felix Fietkau
f89ca7d9e3 DG834G Power LED fix
This patch enables the new "default-on" trigger for the AR7 target and uses it to ensure the "power" LED on the DG834G is initialised in the ON state.

Previously this LED would turn off when the driver loaded and stay off until turned back on from userspace. With this patch it remains on throughout the boot process, but can still be controlled from userspace if required.

Signed-off-by: Nick Forbes <nick.forbes@incepta.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10349 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-02 01:21:57 +00:00
Matteo Croce
cf4f417e73 fixed war.h path
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10316 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-29 20:50:50 +00:00
Matteo Croce
5d02351984 [AR7] added missing war.h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-29 20:47:34 +00:00
Matteo Croce
35c0563a7a AR7 2.6.24 config file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10304 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-29 02:50:12 +00:00
Matteo Croce
6bb9a59934 [AR7] refresh vlynq patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10301 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-29 00:26:50 +00:00
Florian Fainelli
96f07dff47 Add support for european DSL-502t leds (#2880)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-16 11:20:03 +00:00
Matteo Croce
959fe0f9d9 gpio: revert it back, wrong and useless
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10181 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-13 20:13:08 +00:00
Matteo Croce
2603bf190b [AR7] GPIO fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10180 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-12 17:14:15 +00:00
Matteo Croce
f1b788d21c [AR7] cache GPIO addresses to be more efficent
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10179 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-12 16:41:28 +00:00
Florian Fainelli
34c3a97223 Add dg834 leds support from #2817
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10105 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-04 02:59:10 +00:00
Florian Fainelli
cde143278f Resync ar7 kernel config (#2966)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10098 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-03 21:58:49 +00:00
Felix Fietkau
ebeae35053 fix initramfs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10080 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-01 21:38:06 +00:00
Matteo Croce
84527fa874 AR7 2.6.24, removed duplicate patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-30 15:24:15 +00:00
Matteo Croce
b732e03c7f AR7 2.6.24 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10052 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-30 15:17:10 +00:00
Florian Fainelli
a6aa2a2d9c Add LEDs definitions for the D-Link DSL-502T (#2746)
Signed-off-by: Oliver <oliver@opencloud.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9776 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-16 13:21:31 +00:00
Florian Fainelli
5ef9e4a38e Disable CONFIG_NETDEVICES_MULTIQUEUE for ar7 until we fix the race condition
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-10 09:56:44 +00:00
Felix Fietkau
f2f72a33c1 Minor patch to the AR7 diag.sh to make the status LED a bit more useful. From the patch:
This setup gives us 3.5 distinguishable states:

- Solid OFF:  Bootloader running, or kernel hung (timer task stalled)
- Solid ON:   Kernel hung (timer task stalled)
- 5Hz blink:  preinit
- Heartbeat:  normal operation

Signed-off-by: oliver@opencloud.com


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9666 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-07 00:03:14 +00:00
Felix Fietkau
1f8d93f04a [PATCH 2/2] Reimplement rx ring with EOQ markers to avoid reset storms
Signed-off-by: oliver@opencloud.com


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9665 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-07 00:03:10 +00:00
Felix Fietkau
ff69921aa4 [PATCH 1/2] Fix race between device reset and start_xmit
Signed-off-by: oliver@opencloud.com


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9664 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-07 00:03:06 +00:00
Felix Fietkau
3526ef5634 Fix VLYNQ device enable for DG834Gv1
This patch allows VLYNQ devices on the DG834Gv1 to be successfully
enabled.

Currently the "__vlynq_enable_device" function attempts to set the VLYNQ
device clock divisor to values from 1 through 8 until a link is
successfully established. On the DG834Gv1 (but not the DG834Gv2),
setting the VLYNQ device clock divisor to 1 (full rate) results in all
further VLYNQ operations failing (including software reset), so the
device is never enabled. This patches changes the function to only
attempt divisors 2 through 8, and hence the device is successfully
enabled.

Signed-off-by: Nick Forbes <nick.forbes@huntsworth.com>

---------


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9656 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-04 12:49:54 +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
Matteo Croce
e862674aa8 ar7_gpio: remove unneeded checks and volatile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9419 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-23 15:45:54 +00:00
Eugene Konev
211dc4b5a4 ar7: fix eva image generation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9417 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-23 12:02:46 +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
Eugene Konev
6427bfebf0 ar7: add eva image generation (thanks Axel Gembe)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9401 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-22 14:20:02 +00:00
Eugene Konev
e91fcdd4dc fritzbox leds detection (thanks Axel Gembe)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9357 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-19 03:02:49 +00:00
Eugene Konev
7181bb11c8 Fix tx error handling (#2552). Make rx ring size actually configurable through
ethtool


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9333 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-16 12:53:22 +00:00
Eugene Konev
489d6d0e99 enable NETDEVICES_MULTIQUEUE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-13 02:27:46 +00:00
Eugene Konev
39a3e84d4b fix the case when NETDEVICES_MULTIQUEUE is not enabled (#2506)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-13 02:27:19 +00:00
Eugene Konev
d932bd61c1 use acx-mac80211 in profile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9254 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-11 02:38:23 +00:00
Eugene Konev
6fcccd6453 remove version checks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9253 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-11 01:44:00 +00:00
Eugene Konev
824c1abfe8 we are using leds-gpio now
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9252 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-11 01:39:24 +00:00
Eugene Konev
01b42ee44d locking rework, drop non-napi rx, multiqueue tx, misc cleanups
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9251 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-11 01:21:32 +00:00
Eugene Konev
23b0137558 switch ar7 to 2.6.23
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9235 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-10 06:23:39 +00:00
Matteo Croce
544385b594 backport ar7_wdt from linux-2.6-watchdog-mm
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9182 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-08 01:44:39 +00:00
Eugene Konev
c10806f960 cleanup vlynq. drop vlynq-pci
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9143 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-05 17:54:36 +00:00
Eugene Konev
66e2184864 add ar7 2.6.23 patches and config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-04 02:27:37 +00:00
Eugene Konev
254ac1f60a more cpmac cleanups (#2452):
* don't use net_device::mem*
 * use net_device::stats
 * use per-device rx ring size configurable through ethtool
 * use more ethernet generics (get_stats, set_mac_address, change_mtu)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9098 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-02 14:53:05 +00:00
Eugene Konev
8e14809ef3 add usb controller definition
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-01 12:35:35 +00:00
Nicolas Thill
8465950fc2 revert to vlynq bus clock divisor guessing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-01 10:16:14 +00:00