mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 08:43:31 +00:00
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: 680baca546
("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>
This commit is contained in:
parent
d20339fa93
commit
6f06aa6b2f
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue