Commit graph

317 commits

Author SHA1 Message Date
Florian Fainelli
d238ba2541 correct the MDIO base address and reset sequence for Titan (#6573)
SVN-Revision: 20037
2010-03-07 16:37:01 +00:00
Florian Fainelli
876105bf8b let 802.1q tagged frames go in and out from cpmac (#6730)
SVN-Revision: 20023
2010-03-06 22:33:30 +00:00
Florian Fainelli
ac0b6ee559 fallback to "dumb switch" mode if no PHY was detected
This will enable the second Ethernet MAC in most cases, but will allow
previously non working devices to work.

SVN-Revision: 20022
2010-03-06 22:33:25 +00:00
Florian Fainelli
ffd352b2ba fix cpmac panics with 2.6.32 (#6764)
SVN-Revision: 20021
2010-03-06 22:33:19 +00:00
Florian Fainelli
9067ed7609 add missing patch to arch/mips/kernel/traps.c to allow ar7 to setup its handler correctly (#6722)
SVN-Revision: 19812
2010-02-22 09:43:37 +00:00
Imre Kaloz
825b37cc56 clean up handling of some kernel symbols
SVN-Revision: 19581
2010-02-11 09:33:16 +00:00
Imre Kaloz
0a52bc58f8 re-sort all target and subtarget config files
SVN-Revision: 19580
2010-02-11 08:55:15 +00:00
Florian Fainelli
01af81f06f refresh patches
SVN-Revision: 19523
2010-02-04 14:35:42 +00:00
Florian Fainelli
917d883e0c add 2.6.32 support
SVN-Revision: 19519
2010-02-04 14:35:26 +00:00
Florian Fainelli
dad3df8582 move files to file-2.6.30
SVN-Revision: 19518
2010-02-04 14:35:21 +00:00
Florian Fainelli
d44853204c move kernel configuration to config-2.6.30
SVN-Revision: 19493
2010-02-01 21:11:05 +00:00
Florian Fainelli
2239295892 add UPF_IOREMAP flag to the uart port definition (#6532)
SVN-Revision: 19374
2010-01-28 21:17:21 +00:00
Florian Fainelli
5a481b16ad add support for titan variant (WRTP54G) (#6185)
SVN-Revision: 19022
2010-01-03 20:19:32 +00:00
Florian Fainelli
a47b8566a1 update to 2.6.30, refresh patches
SVN-Revision: 18635
2009-12-04 14:52:45 +00:00
Felix Fietkau
fa0396c530 kernel: move CONFIG_MIPS_FPU_EMU to generic kernel config
SVN-Revision: 18603
2009-11-29 14:31:55 +00:00
Imre Kaloz
6b280112f2 some more Kconfig symbol move..
SVN-Revision: 18371
2009-11-11 11:52:41 +00:00
Imre Kaloz
1d62d9a95c another round of kernel config cleanups
SVN-Revision: 18370
2009-11-11 11:42:24 +00:00
Imre Kaloz
88401c2052 we don't support the 2.6.27 kernels for a long time now
SVN-Revision: 18369
2009-11-11 11:38:02 +00:00
Imre Kaloz
ef42fb4c13 sort all target config files
SVN-Revision: 18367
2009-11-11 09:27:13 +00:00
Florian Fainelli
d4b251bdb8 update to 2.6.30.9
SVN-Revision: 18126
2009-10-23 12:10:25 +00:00
Andy Boyett
c85a89348f move IMAGE_CMDLINE_HACK default to generic from targets
SVN-Revision: 17905
2009-10-05 17:05:34 +00:00
Gabor Juhos
054c54512f kernel: upgrade to 2.6.30.8 and refresh patches
SVN-Revision: 17804
2009-10-01 10:07:32 +00:00
Imre Kaloz
85fcc97a13 update to latest 2.6.27 and 2.6.30 kernels
SVN-Revision: 17602
2009-09-17 11:22:33 +00:00
Gabor Juhos
47c0d7419f kernel: get rid of the simple_prom_emulator, it is not really useful
SVN-Revision: 17567
2009-09-10 18:30:20 +00:00
Gabor Juhos
d59f5b3a98 kernel: add generic image_cmdline hack to MIPS targets
SVN-Revision: 17563
2009-09-10 18:30:01 +00:00
Florian Fainelli
3ce53b8d92 update to 2.6.30.6, compile tested on some targets only
SVN-Revision: 17549
2009-09-09 07:35:06 +00:00
Felix Fietkau
4fa28747ee ar7: remove CONFIG_CRYPTO_ALGAPI override
SVN-Revision: 17419
2009-08-26 23:31:20 +00:00
Florian Fainelli
0c5a73ec9b use 2.6.30.5
SVN-Revision: 17296
2009-08-17 15:05:26 +00:00
Florian Fainelli
145fc3d643 switch to 2.6.30.4
SVN-Revision: 17184
2009-08-08 21:30:25 +00:00
Florian Fainelli
cbe91ce740 register watchdog only if enabled in hardware (#2378)
SVN-Revision: 17125
2009-08-04 21:05:55 +00:00
Florian Fainelli
25b42557da add fixed PHY patches from 2.6.27, refresh patches
SVN-Revision: 17110
2009-08-03 21:32:31 +00:00
Florian Fainelli
8d4aebadaf add back the fixed PHY patches from #3124, until we move this to platform_data
SVN-Revision: 17107
2009-08-03 18:51:03 +00:00
Florian Fainelli
cf176f82db add experimental support for 2.6.30
SVN-Revision: 17097
2009-08-02 13:01:18 +00:00
Florian Fainelli
f6c35808a4 resync kernel configuration
SVN-Revision: 17094
2009-08-02 11:04:33 +00:00
Florian Fainelli
252607a79c update to 2.6.27.29
SVN-Revision: 17060
2009-07-31 11:09:27 +00:00
Florian Fainelli
103c99b960 switch to 2.6.27.28
SVN-Revision: 17027
2009-07-27 10:01:33 +00:00
Florian Fainelli
c4d517c7bb use 2.6.27.7
SVN-Revision: 16968
2009-07-24 17:03:03 +00:00
Florian Fainelli
fefeecf52f update to latest 2.6.27.26 stable kernel
SVN-Revision: 16659
2009-07-03 09:31:52 +00:00
Imre Kaloz
aafcab8364 we don't support 2.6.26 for a long time now
SVN-Revision: 16544
2009-06-23 13:29:23 +00:00
Florian Fainelli
a68fe5655e use 2.6.27.5
SVN-Revision: 16486
2009-06-17 08:46:47 +00:00
Florian Fainelli
00e2b1d997 add experimental 2.6.30 support, boot tested
SVN-Revision: 16242
2009-06-01 08:11:37 +00:00
Florian Fainelli
c739ce1888 remove old 2.6.24 code
SVN-Revision: 16240
2009-06-01 08:04:56 +00:00
Florian Fainelli
8a86424093 use 2.6.27.24
SVN-Revision: 16208
2009-05-30 12:01:05 +00:00
Florian Fainelli
733b0a1ff8 rework ar7 profiles to separate dsl firmwares, annex-a being now the default and most widespread
SVN-Revision: 16201
2009-05-30 08:54:55 +00:00
Florian Fainelli
c2df3a7179 refresh patches
SVN-Revision: 16156
2009-05-28 19:04:19 +00:00
Florian Fainelli
fc72d90103 revert part of r16112, the setup.c part needs more testing
SVN-Revision: 16113
2009-05-27 16:22:01 +00:00
Florian Fainelli
33f6145c51 include missing atm-tools to setup pppoe/a links
SVN-Revision: 16112
2009-05-27 16:20:21 +00:00
Florian Fainelli
9e9ac96aeb include atm drivers in default images, otherwise firmware is just useless
SVN-Revision: 16051
2009-05-25 13:21:33 +00:00
Florian Fainelli
3b92b4de00 I recently came across an ar7 device which has the vlynq hardwired so that the clocks are always generated by the remote device instead of the local one.
Upon initialization the current version of vlynq driver disables
remote clock generation and causes the entire bus to hang on my
device.

This patch adds support for detecting which device (local or remote)
is responsible of clock generation and implements clock
initialization based on detection result.

Signed-off-by: Antti Seppala <a.seppala at gmail.com>

SVN-Revision: 16049
2009-05-25 13:13:10 +00:00
Imre Kaloz
e965c02820 even more config file cleanup
SVN-Revision: 15913
2009-05-18 13:21:25 +00:00
Imre Kaloz
e1e531253d without generic 2.6.26 support it doesn't make sense to keep 2.6.26 configs around..
SVN-Revision: 15862
2009-05-15 10:43:20 +00:00
Imre Kaloz
91e866f383 config cleanups
SVN-Revision: 15861
2009-05-15 10:40:04 +00:00
Imre Kaloz
6bfddb152f some additional config file cleanup..
SVN-Revision: 15845
2009-05-14 13:32:34 +00:00
Imre Kaloz
a9c958c2de make kernels use /etc/preinit by default
SVN-Revision: 15840
2009-05-14 10:20:53 +00:00
Florian Fainelli
ee7fcc6d27 include kmod-acx in default images
SVN-Revision: 15691
2009-05-07 15:07:47 +00:00
Florian Fainelli
6239eb2c7b update to 2.6.27 (#4122)
SVN-Revision: 15665
2009-05-07 12:17:56 +00:00
Imre Kaloz
e9b397805d some more kernel config cleanup.. last for today :)
SVN-Revision: 15606
2009-05-04 20:57:02 +00:00
Imre Kaloz
0f2b1d070a more cleanup
SVN-Revision: 15605
2009-05-04 20:31:47 +00:00
Imre Kaloz
a614251e6c cleanup MTD option handling
SVN-Revision: 15602
2009-05-04 19:13:43 +00:00
Felix Fietkau
16defbb2bd nuke obsolete kernel stuff
SVN-Revision: 14875
2009-03-14 15:52:42 +00:00
Florian Fainelli
4906d4533a include pppoa and br2684 packages by default (#4648)
SVN-Revision: 14626
2009-02-22 18:55:21 +00:00
Florian Fainelli
086b7e33f1 do not patch the local copy of ar7part.c to be exactly like what is mainline already
SVN-Revision: 14625
2009-02-22 18:48:55 +00:00
Felix Fietkau
11014b5cea disable all kernel config options that are set to =m
SVN-Revision: 14611
2009-02-22 04:44:24 +00:00
Gabor Juhos
d5bfba98ce refresh 2.6.26 patches
SVN-Revision: 13527
2008-12-06 09:19:05 +00:00
Gabor Juhos
919a8a9fe0 make mips_machine stuff available for other MIPS targets
SVN-Revision: 13492
2008-12-02 21:54:53 +00:00
Imre Kaloz
a695fa76a4 move THERMAL symbols into the generic config
SVN-Revision: 13346
2008-11-25 13:52:25 +00:00
Florian Fainelli
a936c402fc Fix this nasty patch which prevented others from applying
SVN-Revision: 13343
2008-11-24 21:52:10 +00:00
Gabor Juhos
88cda758c3 update to 2.6.25.20, 2.6.26.8, 2.6.27.5 and refresh patches * based on a patch by Hauke Mehrtens * closes #4193
SVN-Revision: 13192
2008-11-12 17:49:01 +00:00
Gabor Juhos
a1bf28950d refresh 2.6.26 patches
SVN-Revision: 13135
2008-11-06 20:55:33 +00:00
Florian Fainelli
1ac53fbf06 Update to 2.6.26.7
SVN-Revision: 13036
2008-10-23 09:16:00 +00:00
Florian Fainelli
6585073a04 Add missing evaloader specific changes from #2830
SVN-Revision: 13018
2008-10-20 16:17:36 +00:00
Gabor Juhos
821170133f update to 2.6.26.5 and 2.6.25.17
SVN-Revision: 12718
2008-09-26 18:46:53 +00:00
Nicolas Thill
3029c2fd53 disable CONFIG_USB_SUPPORT in generic config for 2.6.25 & 2.6.26 and enable it on targets where USB is supported
SVN-Revision: 12690
2008-09-24 19:28:53 +00:00
Felix Fietkau
c3ae8337f4 AR7 watchdog supports magic close
This patch adds the magic close flag (stopping the watchdog on an expected close
by wrting 'V' to the device before closing it) to the watchdogs list, which the
AR7 watchdog code actually supports.

Signed-off-by: Axel Gembe <ago@bastart.eu.org>

SVN-Revision: 12666
2008-09-23 15:43:30 +00:00
Florian Fainelli
0fdecd35bd Treat vlynq external divisor just like automatic, fix comment about it, thanks sn9
SVN-Revision: 12467
2008-09-01 19:29:25 +00:00
Florian Fainelli
3ab8360af0 Fix divisor calculation and configuration from previous commit, thanks sn9
SVN-Revision: 12454
2008-09-01 11:49:57 +00:00
Florian Fainelli
219145702e Build images for the AG310, thanks sn9
SVN-Revision: 12446
2008-08-31 11:36:21 +00:00
Florian Fainelli
701d82cc8e Sync ar7 default network configuration with latest firewall and network settings, thanks sn9
SVN-Revision: 12444
2008-08-31 11:33:41 +00:00
Florian Fainelli
3abe371efd Fix divisor settings for external devices like wireless devices, thanks sn9
SVN-Revision: 12443
2008-08-31 11:32:26 +00:00
Florian Fainelli
291abdac58 Build images for WAG54GP2v1 and v2, thanks sn9
SVN-Revision: 12438
2008-08-30 12:25:02 +00:00
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