summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/marvell/mvpp2.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2016-11-16 21:44:02 +0300
committerDavid S. Miller <davem@davemloft.net>2016-11-16 21:44:02 +0300
commit54dbf3a57731da6e21c6e65bd1a7f9ee009708ca (patch)
treebd29fa037930f1b57a39da03169fff2f63210a2b /drivers/net/ethernet/marvell/mvpp2.c
parentfc3f9146cec6ced8866071f711aba3f356af65f6 (diff)
parent13f0ac41095587a23176f169b7f4557418017ade (diff)
downloadlinux-54dbf3a57731da6e21c6e65bd1a7f9ee009708ca.tar.xz
Merge branch 'nway-reset'
Florian Fainelli says: ==================== net: Implenent ethtool::nway_reset for a few drivers This patch series depends on "net: phy: Centralize auto-negotation restart" since it provides phy_ethtool_nway_reset as a helper function. The drivers here already support PHYLIB, so there really is no reason why restarting auto-negotiation would not be possible with these. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell/mvpp2.c')
-rw-r--r--drivers/net/ethernet/marvell/mvpp2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/marvell/mvpp2.c b/drivers/net/ethernet/marvell/mvpp2.c
index c8bf155cad94..ee857868bea5 100644
--- a/drivers/net/ethernet/marvell/mvpp2.c
+++ b/drivers/net/ethernet/marvell/mvpp2.c
@@ -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,