openwrt/target/linux/ar7/files/drivers
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
..
char backport ar7_wdt from linux-2.6-watchdog-mm 2007-10-08 01:44:39 +00:00
mtd fix silliness in [8886] 2007-09-20 19:46:58 +00:00
net Fix tx error handling (#2552). Make rx ring size actually configurable through ethtool 2007-10-16 12:53:22 +00:00
vlynq Fix VLYNQ device enable for DG834Gv1 2007-12-04 12:49:54 +00:00