diff options
author | Arun Ramadoss <arun.ramadoss@microchip.com> | 2022-04-13 12:44:09 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-04-15 10:50:01 +0100 |
commit | 6f06aa6b2fd741d2171ff99de3537141610fd933 (patch) | |
tree | db69ff8489747d007f0dbe20d901724ddf366fd6 /drivers | |
parent | d20339fa93e9810fcf87518bdd62e44f62bb64ee (diff) | |
download | linux-stable-6f06aa6b2fd741d2171ff99de3537141610fd933.tar.gz linux-stable-6f06aa6b2fd741d2171ff99de3537141610fd933.tar.bz2 linux-stable-6f06aa6b2fd741d2171ff99de3537141610fd933.zip |
net: phy: LAN937x: added PHY_POLL_CABLE_TEST flag
Added the phy_poll_cable_test flag for the lan937x phy driver.
Tested using command - ethtool --cable-test <dev>
Fixes: 680baca546f2 ("net: phy: added the LAN937x phy support")
Signed-off-by: Arun Ramadoss <arun.ramadoss@microchip.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/phy/microchip_t1.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/microchip_t1.c b/drivers/net/phy/microchip_t1.c index 3f79bbbe62d3..c2c0e361fd3d 100644 --- a/drivers/net/phy/microchip_t1.c +++ b/drivers/net/phy/microchip_t1.c @@ -743,6 +743,7 @@ static struct phy_driver microchip_t1_phy_driver[] = { { PHY_ID_MATCH_MODEL(PHY_ID_LAN937X), .name = "Microchip LAN937x T1", + .flags = PHY_POLL_CABLE_TEST, .features = PHY_BASIC_T1_FEATURES, .config_init = lan87xx_config_init, .suspend = genphy_suspend, |