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:
parent
46b777ad9a
commit
311abcdddc
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user