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)
commitde123c4409d3173dfe70322ceb796f6d0e935fde
tree451873b3899187f6086979a96f85598af824608b
parent8f54ec7ce71fbd83b2755f31cb54055bf3810eba
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>
SVN-Revision: 35532
target/linux/generic/files/drivers/net/phy/ar8216.c