Skip to content

Commit ffb0bea

Browse files
ParthibanI17164NipaLocal
authored andcommitted
net: phy: microchip_t1s:: add cable diagnostic support for LAN867x Rev.D0
Enable Open Alliance TC14 (OATC14) 10Base-T1S cable diagnostic feature for Microchip LAN867x Rev.D0 PHY by implementing `cable_test_start` and `cable_test_get_status` using the generic C45 functions. This allows the `ethtool` utility to perform cable diagnostic tests directly on the PHY, improving network troubleshooting and maintenance. Signed-off-by: Parthiban Veerasooran <[email protected]> Signed-off-by: NipaLocal <nipa@local>
1 parent c55349a commit ffb0bea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/net/phy/microchip_t1s.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,8 @@ static struct phy_driver microchip_t1s_driver[] = {
573573
.get_plca_cfg = genphy_c45_plca_get_cfg,
574574
.set_plca_cfg = lan86xx_plca_set_cfg,
575575
.get_plca_status = genphy_c45_plca_get_status,
576+
.cable_test_start = genphy_c45_oatc14_cable_test_start,
577+
.cable_test_get_status = genphy_c45_oatc14_cable_test_get_status,
576578
},
577579
{
578580
PHY_ID_MATCH_EXACT(PHY_ID_LAN865X_REVB),

0 commit comments

Comments
 (0)