net: ethernet: mvpp2: Implement ethtool::nway_reset
Implement ethtool::nway_reset using phy_ethtool_nway_reset. We are already using dev->phydev all over the place so this comes for free. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
5489ee8976
commit
00606c4986
@ -5923,6 +5923,7 @@ static const struct net_device_ops mvpp2_netdev_ops = {
|
||||
};
|
||||
|
||||
static const struct ethtool_ops mvpp2_eth_tool_ops = {
|
||||
.nway_reset = phy_ethtool_nway_reset,
|
||||
.get_link = ethtool_op_get_link,
|
||||
.set_coalesce = mvpp2_ethtool_set_coalesce,
|
||||
.get_coalesce = mvpp2_ethtool_get_coalesce,
|
||||
|
Loading…
x
Reference in New Issue
Block a user