Commit 311abcdd authored by Raju Lakkaraju's avatar Raju Lakkaraju Committed by Jakub Kicinski

net: phy: add support to get Master-Slave configuration

Add support to Master-Slave configuration and state
Signed-off-by: default avatarRaju Lakkaraju <Raju.Lakkaraju@microchip.com>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 46b777ad
...@@ -295,6 +295,9 @@ static void gpy_update_interface(struct phy_device *phydev) ...@@ -295,6 +295,9 @@ static void gpy_update_interface(struct phy_device *phydev)
ret); ret);
break; break;
} }
if (phydev->speed == SPEED_2500 || phydev->speed == SPEED_1000)
genphy_read_master_slave(phydev);
} }
static int gpy_read_status(struct phy_device *phydev) static int gpy_read_status(struct phy_device *phydev)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment