Commit Graph

63 Commits

Author SHA1 Message Date
Matteo Croce
b2b102fdcc Update kernel to 2.6.24
SVN-Revision: 10421
2008-02-08 17:17:45 +00:00
Matteo Croce
fb5be81fe7 make current AR7 code 2.6.24 aware, for future use
SVN-Revision: 10415
2008-02-08 00:21:08 +00:00
Felix Fietkau
0ae7379775 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>

SVN-Revision: 10349
2008-02-02 01:21:57 +00:00
Matteo Croce
c4a4fff789 fixed war.h path
SVN-Revision: 10316
2008-01-29 20:50:50 +00:00
Matteo Croce
72506a987f added missing war.h
SVN-Revision: 10315
2008-01-29 20:47:34 +00:00
Florian Fainelli
7ef96948af Add support for european DSL-502t leds (#2880)
SVN-Revision: 10210
2008-01-16 11:20:03 +00:00
Matteo Croce
af9cf4a7a8 gpio: revert it back, wrong and useless
SVN-Revision: 10181
2008-01-13 20:13:08 +00:00
Matteo Croce
5d249c898d GPIO fix
SVN-Revision: 10180
2008-01-12 17:14:15 +00:00
Matteo Croce
fae9e82aad cache GPIO addresses to be more efficent
SVN-Revision: 10179
2008-01-12 16:41:28 +00:00
Florian Fainelli
b5ccc2e505 Add dg834 leds support from #2817
SVN-Revision: 10105
2008-01-04 02:59:10 +00:00
Florian Fainelli
80c5643c01 Add LEDs definitions for the D-Link DSL-502T (#2746)
Signed-off-by: Oliver <oliver@opencloud.com>

SVN-Revision: 9776
2007-12-16 13:21:31 +00:00
Felix Fietkau
f648fc7bc0 Reimplement rx ring with EOQ markers to avoid reset storms
Signed-off-by: oliver@opencloud.com

SVN-Revision: 9665
2007-12-07 00:03:10 +00:00
Felix Fietkau
6111ac6f94 Fix race between device reset and start_xmit
Signed-off-by: oliver@opencloud.com

SVN-Revision: 9664
2007-12-07 00:03:06 +00:00
Felix Fietkau
5dc134c542 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>

---------

SVN-Revision: 9656
2007-12-04 12:49:54 +00:00
Matteo Croce
788a010131 ar7_gpio: remove unneeded checks and volatile
SVN-Revision: 9419
2007-10-23 15:45:54 +00:00
Eugene Konev
1e5a1f2aa5 fritzbox leds detection (thanks Axel Gembe)
SVN-Revision: 9357
2007-10-19 03:02:49 +00:00
Eugene Konev
53f219cc2b Fix tx error handling (#2552). Make rx ring size actually configurable through ethtool
SVN-Revision: 9333
2007-10-16 12:53:22 +00:00
Eugene Konev
1a3f45fa87 fix the case when NETDEVICES_MULTIQUEUE is not enabled (#2506)
SVN-Revision: 9282
2007-10-13 02:27:19 +00:00
Eugene Konev
4b23cd0283 remove version checks
SVN-Revision: 9253
2007-10-11 01:44:00 +00:00
Eugene Konev
76fdf7d7b0 we are using leds-gpio now
SVN-Revision: 9252
2007-10-11 01:39:24 +00:00
Eugene Konev
982d054c27 locking rework, drop non-napi rx, multiqueue tx, misc cleanups
SVN-Revision: 9251
2007-10-11 01:21:32 +00:00
Matteo Croce
92378640d2 backport ar7_wdt from linux-2.6-watchdog-mm
SVN-Revision: 9182
2007-10-08 01:44:39 +00:00
Eugene Konev
3c4062a45f cleanup vlynq. drop vlynq-pci
SVN-Revision: 9143
2007-10-05 17:54:36 +00:00
Eugene Konev
e10dfa5129 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)
SVN-Revision: 9098
2007-10-02 14:53:05 +00:00
Eugene Konev
822b666935 add usb controller definition
SVN-Revision: 9087
2007-10-01 12:35:35 +00:00
Nicolas Thill
05f0755426 revert to vlynq bus clock divisor guessing
SVN-Revision: 9086
2007-10-01 10:16:14 +00:00
Eugene Konev
4e6f272ba1 don't enable rts/cts by default (thanks nabcore, #2400)
SVN-Revision: 9078
2007-09-30 03:15:24 +00:00
Eugene Konev
bb8c985261 add necessary includes
SVN-Revision: 8974
2007-09-23 08:13:08 +00:00
Eugene Konev
6e7564b640 add initial generic gpio-leds support
SVN-Revision: 8918
2007-09-21 14:04:29 +00:00
Eugene Konev
041a03c5bd make gpio conformant to generic gpio spec.
SVN-Revision: 8911
2007-09-21 12:37:50 +00:00
Matteo Croce
951550023b fix silliness in [8886]
SVN-Revision: 8889
2007-09-20 19:46:58 +00:00
Matteo Croce
e2148dbae1 replace deprecated u_char with u8
SVN-Revision: 8887
2007-09-20 19:33:00 +00:00
Matteo Croce
8d162264af Make ar7_part more readable and endianness safe
SVN-Revision: 8886
2007-09-20 19:25:38 +00:00
Matteo Croce
f0f0047aec small cpmac fixes
SVN-Revision: 8881
2007-09-20 16:31:23 +00:00
Eugene Konev
1af0f14c44 use set_irq_chip_and_handler (#2408)
SVN-Revision: 8852
2007-09-20 02:22:03 +00:00
Matteo Croce
5fac6f67f1 style cleanups (make checkpatch.pl happy)
SVN-Revision: 8851
2007-09-19 23:27:34 +00:00
Eugene Konev
c4cd598161 cleanup (use dma API, use accessors, debugging/printk cleanup)
SVN-Revision: 8839
2007-09-19 12:58:12 +00:00
Eugene Konev
5d3031cfb0 fix previous commit
SVN-Revision: 8774
2007-09-14 05:30:11 +00:00
Eugene Konev
438d168a98 add *dma_mask's to cpmacs
SVN-Revision: 8773
2007-09-14 04:49:47 +00:00
Eugene Konev
fbd19377fa fix watchdog seek test (#2383)
SVN-Revision: 8772
2007-09-14 04:46:34 +00:00
Eugene Konev
2f0762749d mmzone.h is not needed anymore
SVN-Revision: 8769
2007-09-13 07:07:46 +00:00
Eugene Konev
b972859fec 128 irqs is not enough...
SVN-Revision: 8768
2007-09-13 06:21:27 +00:00
Eugene Konev
4056fefe8a copy-paste typo, lost static's
SVN-Revision: 8767
2007-09-13 06:20:29 +00:00
Matteo Croce
c0c12e278b use ebase instead of CAC_BASE, some cosmetic fixes
SVN-Revision: 8766
2007-09-12 17:48:46 +00:00
Matteo Croce
64f9a22679 Enabled working ar7_wdt, style cleanups
SVN-Revision: 8764
2007-09-12 16:15:12 +00:00
Matteo Croce
87cef9d9a2 added ar7_wdt fix by Alex
SVN-Revision: 8762
2007-09-12 15:30:00 +00:00
Matteo Croce
339eba5fbd Style fixes
SVN-Revision: 8761
2007-09-12 13:21:02 +00:00
Eugene Konev
89333ac8f7 there is no need in two identical actions
SVN-Revision: 8760
2007-09-12 12:27:06 +00:00
Eugene Konev
db5e143756 vlynq cleanups: * drivers can now set a clock divisor * irq handling cleanup, drivers now can handle error irqs themselves * style cleanup
SVN-Revision: 8759
2007-09-12 12:23:56 +00:00
Matteo Croce
09b45caf09 more AR7 cleanups & fixes
SVN-Revision: 8758
2007-09-11 23:50:02 +00:00