diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2014-10-02 08:54:42 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-10-02 08:54:42 +0200 |
commit | 815288c59895ea48ff677ad8f575d3eec679c11b (patch) | |
tree | ddf94e4ffaa754b73d4fb0d0e744f6ccf9b14324 /include | |
parent | a65334019b71d592024f0da930e5499c7deeacb6 (diff) | |
parent | 1b4c08d2f297d57d45b0c4ebde0d6cd158a74375 (diff) | |
download | barebox-815288c59895ea48ff677ad8f575d3eec679c11b.tar.gz barebox-815288c59895ea48ff677ad8f575d3eec679c11b.tar.xz |
Merge branch 'for-next/net-phy'
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/phy.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/phy.h b/include/linux/phy.h index 7c5d754a12..c0fd4ff19a 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h @@ -234,6 +234,9 @@ struct phy_driver { */ int (*config_aneg)(struct phy_device *phydev); + /* Determines the auto negotiation result */ + int (*aneg_done)(struct phy_device *phydev); + /* Determines the negotiated speed and duplex */ int (*read_status)(struct phy_device *phydev); @@ -295,6 +298,7 @@ int phy_wait_aneg_done(struct phy_device *phydev); /* Generic PHY support and helper functions */ 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_config_advert(struct phy_device *phydev); |