Commit Graph

337 Commits (897c00c1457880823dda8d08db4b75fa6733127e)

Author SHA1 Message Date
Florian Fainelli 8ef58746f5 Add 2.6.26 kernel configuration file
SVN-Revision: 12437
2008-08-30 12:24:21 +00:00
Florian Fainelli 1fd291063a Switch ar7 to 2.6.26, thanks sn9
SVN-Revision: 12436
2008-08-30 12:23:18 +00:00
Gabor Juhos 184c6b06f2 update to 2.6.26.3 and 2.6.25.16
SVN-Revision: 12371
2008-08-22 15:37:19 +00:00
Gabor Juhos e5fa05d788 update to 2.6.25.15 and 2.6.26.2
SVN-Revision: 12242
2008-08-07 16:52:52 +00:00
Gabor Juhos 104b3386a2 update to 2.6.25.12
SVN-Revision: 11933
2008-07-26 10:53:23 +00:00
Matteo Croce e027e87a89 ar7: initial 2.6.26 patches
SVN-Revision: 11824
2008-07-14 10:50:30 +00:00
Imre Kaloz 492ba57b56 update targets to 2.6.25.10
SVN-Revision: 11667
2008-07-05 16:52:15 +00:00
Imre Kaloz dee39d10ee upgrade to 2.6.25.9
SVN-Revision: 11584
2008-06-26 14:28:16 +00:00
Gabor Juhos 4af6ac74fb upgrade to 2.6.25.7, and refresh patches
SVN-Revision: 11523
2008-06-17 12:57:04 +00:00
Matteo Croce d1c097e3d0 ar7: refresh patches
SVN-Revision: 11452
2008-06-12 22:33:48 +00:00
Imre Kaloz 2eb6751084 upgrade to 2.6.25.6
SVN-Revision: 11435
2008-06-11 11:38:39 +00:00
Gabor Juhos b0b3bc5f00 refresh kernel patches
SVN-Revision: 11196
2008-05-19 07:06:35 +00:00
Gabor Juhos f9719b35c8 upgrade to latest kernel versions (2.6.25.4; 2.6.24.7; 2.6.23.17; 2.6.22.19)
SVN-Revision: 11184
2008-05-18 20:12:54 +00:00
Gabor Juhos 936b0e3cc7 use the righ value in the DSP clock calculation
SVN-Revision: 11123
2008-05-12 11:56:21 +00:00
Matteo Croce 8639678081 no unicode in C source, please
SVN-Revision: 11046
2008-05-04 17:20:19 +00:00
Matteo Croce 4bc59b8552 ar7: backport small fixes from linux-mips
SVN-Revision: 11045
2008-05-04 17:05:26 +00:00
Matteo Croce 326c6c3d1d set default atm-bridge payload to 'bridged' so we don't break old configs
SVN-Revision: 11044
2008-05-04 14:17:03 +00:00
Matteo Croce 53a0e5d97c ar7: add support for bridged ATM in network setup
SVN-Revision: 11033
2008-05-03 18:28:46 +00:00
Matteo Croce 3c9bce3c46 ar7: enable ethernet driver and use the 2.6.25.1 kernel
SVN-Revision: 11032
2008-05-03 17:56:02 +00:00
Matteo Croce 2036ae2056 ar7: 2.6.25.1 support
SVN-Revision: 11023
2008-05-03 15:33:38 +00:00
Imre Kaloz 68943e35c2 upgrade to 2.6.24.5
SVN-Revision: 10959
2008-04-28 10:23:36 +00:00
Nicolas Thill c6fe45ed55 properly disable CONFIG_CRYPTO_HW
SVN-Revision: 10952
2008-04-27 12:31:50 +00:00
Matteo Croce 518419f5ec cpmac fix (closes #3124)
SVN-Revision: 10896
2008-04-21 02:00:04 +00:00
Matteo Croce a8761e71b7 ar7: nuke unneeded patch
SVN-Revision: 10792
2008-04-11 23:18:01 +00:00
Matteo Croce e4775082d8 ar7: remove useless chunks from a patch
SVN-Revision: 10778
2008-04-09 22:54:32 +00:00
Florian Fainelli b56c1cfc8f Add the firmware generation for the AG241v2b device (#3315)
SVN-Revision: 10776
2008-04-09 19:22:26 +00:00
Matteo Croce 4a85d8edac ar7: remove volatiles definitely
SVN-Revision: 10762
2008-04-07 15:22:31 +00:00
Matteo Croce f9f4afa8ff vlynq: revert volatiles until we find a good way to remove them
SVN-Revision: 10760
2008-04-07 14:30:20 +00:00
Matteo Croce 9d41b1731d ar7: use SLUB allocator, it gives slighty more TCP throughput
SVN-Revision: 10758
2008-04-07 14:03:07 +00:00
Matteo Croce d84f27f264 ar7: remove useless volatiles
SVN-Revision: 10757
2008-04-07 13:49:44 +00:00
Matteo Croce 78e07d75cd ar7: remove unneeded packed and array initialization
SVN-Revision: 10752
2008-04-07 01:30:07 +00:00
Matteo Croce cc823e6c53 fixed wrong path in diff
SVN-Revision: 10748
2008-04-06 19:38:08 +00:00
Matteo Croce 320c915b13 cpmac: fix race condition (closes #3019)
SVN-Revision: 10747
2008-04-06 19:33:14 +00:00
Matteo Croce 67dc179e05 vlynq: small fixes
SVN-Revision: 10711
2008-04-02 14:50:19 +00:00
Matteo Croce af4c2c041f add proper email addresses to the comment headers
SVN-Revision: 10709
2008-04-02 11:45:18 +00:00
Matteo Croce c96a4d1808 Let authors holds copyright of the AR7 code (closes #2369)
SVN-Revision: 10708
2008-04-02 11:18:00 +00:00
Matteo Croce 9b93a436c7 vlynq: probe for an external clock first, needed to enable acx on the Leonardo board
SVN-Revision: 10707
2008-04-02 11:06:50 +00:00
Matteo Croce 27c0dc833b ar7: fixed cpmac, now it doesn't fails to register the phy. Signed-off-by: beistin@gmail.com
SVN-Revision: 10640
2008-03-21 18:51:55 +00:00
Matteo Croce cfe5ea11d3 cpmac: fixed phy seems to be broken, hack cpmac to always report link up
SVN-Revision: 10627
2008-03-19 13:27:51 +00:00
Matteo Croce c25cc7e6e5 fix serial patch
SVN-Revision: 10602
2008-03-13 17:20:25 +00:00
Matteo Croce 8988d03a8e cpmac: patch to reimplement rx ring with EOQ markers to avoid reset storms (closes #2569)
SVN-Revision: 10585
2008-03-11 00:59:11 +00:00
Matteo Croce 001f82bf2c Add AG241 code pattern (fixes #1089)
SVN-Revision: 10584
2008-03-11 00:45:22 +00:00
Matteo Croce 9c4f6c192f fix cpmac in a more elegant way, thanks Anton Vorontsov
SVN-Revision: 10546
2008-03-05 18:20:44 +00:00
Matteo Croce 321918aa56 fixed_phy seems to be broken, this simple workaround fixes it
SVN-Revision: 10545
2008-03-05 12:59:54 +00:00
Imre Kaloz 3a0e58b2e1 upgrade & standardize kernel versions
SVN-Revision: 10443
2008-02-11 10:50:40 +00:00
Matteo Croce cae0acba53 cpmac: reapply [9664]
SVN-Revision: 10424
2008-02-08 19:41:10 +00:00
Matteo Croce ccb82915f5 build cpmac driver
SVN-Revision: 10422
2008-02-08 17:27:01 +00:00
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
Matteo Croce 55a6c2091f more 2.6.24 patches
SVN-Revision: 10410
2008-02-07 18:40:24 +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
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