ag71xx: replace fixed PHY reset wait time in ar7240sw_setup
authorJohn Crispin <blogic@openwrt.org>
Sun, 7 Dec 2014 16:52:58 +0000 (16:52 +0000)
committerJohn Crispin <blogic@openwrt.org>
Sun, 7 Dec 2014 16:52:58 +0000 (16:52 +0000)
commit09011d5a288a65e4625abab85e2e362c6b6cd49c
treedb70ac2b75bc5d0d64284283267d86e941c8965e
parent49156d5503027c3a4a94c359672fa846475044f1
ag71xx: replace fixed PHY reset wait time in ar7240sw_setup

Replace the fixed wait time of 1s with polling for BMCR_RESET
to be cleared on all PHYs.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43538 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_ar7240.c