diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2014-02-11 17:27:36 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-02-12 19:08:19 -0500 |
commit | a9fa6e6ac29709e7a623b60695c172da675df045 (patch) | |
tree | 902ffd99a28a5f3a82495afd7711a479e0bd5e4f /include/linux/phy.h | |
parent | 766d1d388e6e6bfda99a00d68ac9247a1c25a0d9 (diff) | |
download | linux-stable-a9fa6e6ac29709e7a623b60695c172da675df045.tar.gz linux-stable-a9fa6e6ac29709e7a623b60695c172da675df045.tar.bz2 linux-stable-a9fa6e6ac29709e7a623b60695c172da675df045.zip |
net: phy: add genphy_aneg_done()
In preparation for allowing PHY drivers to potentially override their
auto-negotiation done callback, move the contents of phy_aneg_done() to
genphy_aneg_done() since that function really is the generic
implementation based on the BMSR_ANEGCOMPLETE status.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/phy.h')
-rw-r--r-- | include/linux/phy.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/phy.h b/include/linux/phy.h index 565188ca328f..c572842c9029 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h @@ -612,6 +612,7 @@ static inline int phy_read_status(struct phy_device *phydev) int genphy_setup_forced(struct phy_device *phydev); int genphy_restart_aneg(struct phy_device *phydev); int genphy_config_aneg(struct phy_device *phydev); +int genphy_aneg_done(struct phy_device *phydev); int genphy_update_link(struct phy_device *phydev); int genphy_read_status(struct phy_device *phydev); int genphy_suspend(struct phy_device *phydev); |