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

Add support to Master-Slave configuration and state

Signed-off-by: Raju Lakkaraju <Raju.Lakkaraju@microchip.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
Raju Lakkaraju 2022-06-16 09:42:26 +05:30 committed by Jakub Kicinski
parent 46b777ad9a
commit 311abcdddc

View File

@ -295,6 +295,9 @@ static void gpy_update_interface(struct phy_device *phydev)
ret);
break;
}
if (phydev->speed == SPEED_2500 || phydev->speed == SPEED_1000)
genphy_read_master_slave(phydev);
}
static int gpy_read_status(struct phy_device *phydev)