net: phy: LAN937x: added PHY_POLL_CABLE_TEST flag
authorArun Ramadoss <arun.ramadoss@microchip.com>
Wed, 13 Apr 2022 07:14:09 +0000 (12:44 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Apr 2022 09:50:01 +0000 (10:50 +0100)
commit6f06aa6b2fd741d2171ff99de3537141610fd933
treedb69ff8489747d007f0dbe20d901724ddf366fd6
parentd20339fa93e9810fcf87518bdd62e44f62bb64ee
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>
drivers/net/phy/microchip_t1.c