generic: ar8216: move sleep out of the loop
authorGabor Juhos <juhosg@openwrt.org>
Sat, 9 Feb 2013 13:26:04 +0000 (13:26 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sat, 9 Feb 2013 13:26:04 +0000 (13:26 +0000)
commit615488695159cb594213d6edb34bde732516297f
treeeedd369c728c97d553461fa025ad429771a6ab75
parent00ec7d99953a70d123c4ad8efd22ceaaaa27aa1b
generic: ar8216: move sleep out of the loop

It is enough to sleep once after ANEG is enabled on
all PHYs. This reduces boot time on boards with
AR8316 switch.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35532 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/generic/files/drivers/net/phy/ar8216.c