summaryrefslogtreecommitdiffstats
path: root/include/linux/phy.h
diff options
context:
space:
mode:
authorFlorian Fainelli2014-02-12 02:27:36 +0100
committerDavid S. Miller2014-02-13 01:08:19 +0100
commita9fa6e6ac29709e7a623b60695c172da675df045 (patch)
tree902ffd99a28a5f3a82495afd7711a479e0bd5e4f /include/linux/phy.h
parentnet: phy: display human readable PHY speed settings (diff)
downloadkernel-qcow2-linux-a9fa6e6ac29709e7a623b60695c172da675df045.tar.gz
kernel-qcow2-linux-a9fa6e6ac29709e7a623b60695c172da675df045.tar.xz
kernel-qcow2-linux-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.h1
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);