projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46b777a
)
net: phy: add support to get Master-Slave configuration
author
Raju Lakkaraju
<Raju.Lakkaraju@microchip.com>
Thu, 16 Jun 2022 04:12:26 +0000
(09:42 +0530)
committer
Jakub Kicinski
<kuba@kernel.org>
Fri, 17 Jun 2022 03:45:48 +0000
(20:45 -0700)
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>
drivers/net/phy/mxl-gpy.c
patch
|
blob
|
history
diff --git
a/drivers/net/phy/mxl-gpy.c
b/drivers/net/phy/mxl-gpy.c
index 5ce1bf03bbd71a11a094c387820bc0bd813f45ae..6c4da2f9e90a632204ed9cc1197fa67f9c2bf33f 100644
(file)
--- a/
drivers/net/phy/mxl-gpy.c
+++ b/
drivers/net/phy/mxl-gpy.c
@@
-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)