diff options
author | Andrew Lunn <andrew@lunn.ch> | 2020-05-27 00:21:38 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-26 23:21:48 -0700 |
commit | 1a644de29f712771c2ec00e52caa391544eb6141 (patch) | |
tree | e0bf03d3de999e853aaa53a31eaf09662d68a245 /drivers/net/phy/nxp-tja11xx.c | |
parent | a331172b156b23e83dfb556ade0ca23426c3f149 (diff) | |
download | linux-stable-1a644de29f712771c2ec00e52caa391544eb6141.tar.gz linux-stable-1a644de29f712771c2ec00e52caa391544eb6141.tar.bz2 linux-stable-1a644de29f712771c2ec00e52caa391544eb6141.zip |
net: ethtool: Add generic parts of cable test TDR
Add the generic parts of the code used to trigger a cable test and
return raw TDR data. Any PHY driver which support this must implement
the new driver op.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
v2
Update nxp-tja11xx for API change.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/nxp-tja11xx.c')
-rw-r--r-- | drivers/net/phy/nxp-tja11xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/nxp-tja11xx.c b/drivers/net/phy/nxp-tja11xx.c index 1e79c30ca81a..a72fa0d2e7c7 100644 --- a/drivers/net/phy/nxp-tja11xx.c +++ b/drivers/net/phy/nxp-tja11xx.c @@ -194,7 +194,7 @@ static int tja11xx_config_aneg_cable_test(struct phy_device *phydev) !phydev->drv->cable_test_get_status) return 0; - ret = ethnl_cable_test_alloc(phydev); + ret = ethnl_cable_test_alloc(phydev, ETHTOOL_MSG_CABLE_TEST_NTF); if (ret) return ret; |