mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-02-19 18:19:38 -05:00
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:
committed by
Jakub Kicinski
parent
46b777ad9a
commit
311abcdddc
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user