net: phy: introduce phy_aneg_done
phy_wait_aneg_done() is directly called by the network code, so it
should not read phy registers directly. Introduce phy_aneg_done to
give phy drivers the chance to do something different to poll for
autonegotiation completion.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 5c0bd50 commit e209158d5a566ddb0f2bb10f1fd10ff3ca0974ce
@Sascha Hauer Sascha Hauer authored on 17 Sep 2014
Showing 2 changed files
View
drivers/net/phy/phy.c
View
include/linux/phy.h