Commit Graph

137 Commits

Author SHA1 Message Date
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
Matteo Croce
08933608f5 AR7 2.6.24 config file
SVN-Revision: 10304
2008-01-29 02:50:12 +00:00
Matteo Croce
9746531b1c refresh vlynq patch
SVN-Revision: 10301
2008-01-29 00:26:50 +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
548bf0de30 Resync ar7 kernel config (#2966)
SVN-Revision: 10098
2008-01-03 21:58:49 +00:00
Felix Fietkau
3f7af01bb0 fix initramfs
SVN-Revision: 10080
2008-01-01 21:38:06 +00:00
Matteo Croce
12ac58dd2f AR7 2.6.24, removed duplicate patches
SVN-Revision: 10053
2007-12-30 15:24:15 +00:00
Matteo Croce
807fb4a8f5 AR7 2.6.24 patches
SVN-Revision: 10052
2007-12-30 15:17: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
Florian Fainelli
0d88baa016 Disable CONFIG_NETDEVICES_MULTIQUEUE for ar7 until we fix the race condition
SVN-Revision: 9698
2007-12-10 09:56:44 +00:00
Felix Fietkau
eeebde136d 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

SVN-Revision: 9666
2007-12-07 00:03:14 +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
Felix Fietkau
1bca0cc517 make the image filenames a bit shorter
SVN-Revision: 9533
2007-11-10 23:08:11 +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
ce9584fad9 ar7: fix eva image generation
SVN-Revision: 9417
2007-10-23 12:02:46 +00:00
Florian Fainelli
486492b407 We are now at .23.1
SVN-Revision: 9415
2007-10-23 08:13:12 +00:00
Eugene Konev
6bf1f9a467 ar7: add eva image generation (thanks Axel Gembe)
SVN-Revision: 9401
2007-10-22 14:20:02 +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
a40dd0b5cc enable NETDEVICES_MULTIQUEUE
SVN-Revision: 9283
2007-10-13 02:27:46 +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
4f430b08cc use acx-mac80211 in profile
SVN-Revision: 9254
2007-10-11 02:38:23 +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
Eugene Konev
c18f441ebe switch ar7 to 2.6.23
SVN-Revision: 9235
2007-10-10 06:23:39 +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
3120f8a5c0 add ar7 2.6.23 patches and config
SVN-Revision: 9115
2007-10-04 02:27:37 +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
Gabor Juhos
438dfe5c6f get rid of per-profile base-files
SVN-Revision: 9069
2007-09-29 14:27:54 +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
Matteo Croce
2bdbb3915b remove useless dependency
SVN-Revision: 8880
2007-09-20 16:20:40 +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
Felix Fietkau
236d7e62ca clean up jffs2 config options
SVN-Revision: 8848
2007-09-19 20:58:16 +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
79c783309b We have generic irqs now.
SVN-Revision: 8835
2007-09-19 00:52:40 +00:00
Matteo Croce
aa1144ff37 detect ar7 at runtime in set_except_vector and remove useless volatile
SVN-Revision: 8824
2007-09-17 12:45:38 +00:00
Matteo Croce
495ab00a60 don't broke other archs, we're close to mainstream (i hope)
SVN-Revision: 8778
2007-09-14 20:26:54 +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
a5472471a0 fix CAC_ADDR/UNCAC_ADDR macros
SVN-Revision: 8770
2007-09-13 07:16:26 +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
Matteo Croce
1349562f8d no memset after kzalloc
SVN-Revision: 8757
2007-09-11 22:40:06 +00:00
Matteo Croce
0efffbaf30 AR7: Cleanups (closes: #2323)
SVN-Revision: 8756
2007-09-11 21:19:57 +00:00
Nicolas Thill
2ef23a0fd9 disable dsp freq use for vlynq bus clock init, disable external clocking (it locks up on c54apra2+) and revert to internal clocking trying various clock divisors. cleanup: * remove volative and use readl & writel accessors instead * use set_irq_chip & friends for irq setup * use kzalloc instead of kmalloc * secure VINT_VECTOR macro argument * remove unused vlynq_local_id function
SVN-Revision: 8750
2007-09-11 14:50:43 +00:00
Nicolas Thill
6fcca3ff7e fix typo
SVN-Revision: 8747
2007-09-11 13:44:55 +00:00
Eugene Konev
46dc089d5e Style cleanup
SVN-Revision: 8746
2007-09-11 13:42:23 +00:00
Eugene Konev
7b30c695dd Style cleanup
SVN-Revision: 8744
2007-09-11 13:18:51 +00:00
Eugene Konev
65235a2bb9 AR7: IRQ handlng cleanup
SVN-Revision: 8743
2007-09-11 13:07:52 +00:00
Florian Fainelli
042186d5ab AR7 will also be running in big-endian on zyxel devices
SVN-Revision: 8741
2007-09-11 06:43:59 +00:00
Florian Fainelli
58c85a4be7 Remove useless EXTRA_CFLAGS stuff
SVN-Revision: 8740
2007-09-11 06:43:27 +00:00
Florian Fainelli
ba9fafe6eb Fix comments to the mtd driver (see http://www.linux-mips.org/archives/linux-mips/2007-09/msg00064.html)
SVN-Revision: 8738
2007-09-11 06:32:05 +00:00
Felix Fietkau
87a88cebc7 adapt profiles for subtarget changes
SVN-Revision: 8695
2007-09-08 20:04:43 +00:00
Felix Fietkau
a9d683ca91 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
SVN-Revision: 8694
2007-09-08 19:55:42 +00:00
Eugene Konev
538479305e Use PHYS_OFFSET.
SVN-Revision: 8685
2007-09-08 09:16:30 +00:00
Eugene Konev
3520251c21 Add TNETW1350 to known devices. Style cleanups.
SVN-Revision: 8684
2007-09-08 09:02:44 +00:00
Nicolas Thill
929f86c30e cosmetic fixes for ar7: indent, use lowercase hex notation, format
SVN-Revision: 8656
2007-09-06 19:35:08 +00:00
Felix Fietkau
56231056ea 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.
SVN-Revision: 8653
2007-09-06 16:27:37 +00:00