1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-09 21:19:44 +02:00
openwrt-xburst/target/linux/ar7/files/drivers/vlynq
nbd 863d4e55d3 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>

---------


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9656 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-04 12:49:54 +00:00
..
Kconfig cleanup vlynq. drop vlynq-pci 2007-10-05 17:54:36 +00:00
Makefile cleanup vlynq. drop vlynq-pci 2007-10-05 17:54:36 +00:00
vlynq.c Fix VLYNQ device enable for DG834Gv1 2007-12-04 12:49:54 +00:00