diff options
author | Piergiorgio Beruto <piergiorgio.beruto@gmail.com> | 2023-01-09 20:00:10 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-01-11 11:35:02 +0300 |
commit | a23a1e57a6770a8fad1c6362dfe73bd9f27e430c (patch) | |
tree | c7d44ce07f89ef3759a7a59cde5fc16848c1ecf3 /drivers/net/phy/phy_device.c | |
parent | 16178c8ef53dc9734302c4c07633696454579ee3 (diff) | |
download | linux-a23a1e57a6770a8fad1c6362dfe73bd9f27e430c.tar.xz |
drivers/net/phy: add connection between ethtool and phylib for PLCA
This patch adds the required connection between netlink ethtool and
phylib to resolve PLCA get/set config and get status messages.
Signed-off-by: Piergiorgio Beruto <piergiorgio.beruto@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/phy_device.c')
-rw-r--r-- | drivers/net/phy/phy_device.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/phy/phy_device.c b/drivers/net/phy/phy_device.c index 1cde41d39196..0d371a0a49f2 100644 --- a/drivers/net/phy/phy_device.c +++ b/drivers/net/phy/phy_device.c @@ -3283,6 +3283,9 @@ static const struct ethtool_phy_ops phy_ethtool_phy_ops = { .get_sset_count = phy_ethtool_get_sset_count, .get_strings = phy_ethtool_get_strings, .get_stats = phy_ethtool_get_stats, + .get_plca_cfg = phy_ethtool_get_plca_cfg, + .set_plca_cfg = phy_ethtool_set_plca_cfg, + .get_plca_status = phy_ethtool_get_plca_status, .start_cable_test = phy_start_cable_test, .start_cable_test_tdr = phy_start_cable_test_tdr, }; |