ag71xx: replace fixed PHY reset wait time in ar7240sw_setup
authorJohn Crispin <john@openwrt.org>
Sun, 7 Dec 2014 16:52:58 +0000 (16:52 +0000)
committerJohn Crispin <john@openwrt.org>
Sun, 7 Dec 2014 16:52:58 +0000 (16:52 +0000)
commit4caa8d50add5cf72f6e2d5caa3ebb6aa2b9ae443
treebda32062bee14f24c99adbeddcb1c06ecfb83286
parent951866a8eb86e16c3de111dd84da5a1cfe1be152
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>
SVN-Revision: 43538
target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_ar7240.c