ag71xx: close a race between the phy state machine and link state
authorjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 8 Oct 2011 11:37:14 +0000 (11:37 +0000)
committerjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 8 Oct 2011 11:37:14 +0000 (11:37 +0000)
commitd066413d5de6c091b9cbebe1c881066c85b58032
tree0a323f2e0138faa47bb19400723dd7efe79e5022
parent14808c9174a877341a287fb621cae33c82756d72
ag71xx: close a race between the phy state machine and link state

A fast stop/start cycle could leave the ag71xx interrupts and tx engine
disabled when using a phy driver with a fixed link and the start/stop
happens between two phy state machine polls.

Prevent this by always forcing the link down on stop regardless of phy
state and having a phy connected.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28380 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_phy.c
This page took 0.029877 seconds and 4 git commands to generate.