Skip to content
Snippets Groups Projects
Commit e2043f5c authored by Yegor Yefremov's avatar Yegor Yefremov Committed by Joe Hershberger
Browse files

phy: export genphy_parse_link()

parent 518ce472
No related branches found
No related tags found
No related merge requests found
...@@ -280,7 +280,7 @@ int genphy_update_link(struct phy_device *phydev) ...@@ -280,7 +280,7 @@ int genphy_update_link(struct phy_device *phydev)
* *
* Stolen from Linux's mii.c and phy_device.c * Stolen from Linux's mii.c and phy_device.c
*/ */
static int genphy_parse_link(struct phy_device *phydev) int genphy_parse_link(struct phy_device *phydev)
{ {
int mii_reg = phy_read(phydev, MDIO_DEVAD_NONE, MII_BMSR); int mii_reg = phy_read(phydev, MDIO_DEVAD_NONE, MII_BMSR);
......
...@@ -214,6 +214,7 @@ int phy_register(struct phy_driver *drv); ...@@ -214,6 +214,7 @@ int phy_register(struct phy_driver *drv);
int genphy_config_aneg(struct phy_device *phydev); int genphy_config_aneg(struct phy_device *phydev);
int genphy_restart_aneg(struct phy_device *phydev); int genphy_restart_aneg(struct phy_device *phydev);
int genphy_update_link(struct phy_device *phydev); int genphy_update_link(struct phy_device *phydev);
int genphy_parse_link(struct phy_device *phydev);
int genphy_config(struct phy_device *phydev); int genphy_config(struct phy_device *phydev);
int genphy_startup(struct phy_device *phydev); int genphy_startup(struct phy_device *phydev);
int genphy_shutdown(struct phy_device *phydev); int genphy_shutdown(struct phy_device *phydev);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment