From: Florian Fainelli Date: Tue, 15 Nov 2016 19:19:47 +0000 (-0800) Subject: net: ethernet: mvneta: Implement ethtool::nway_reset X-Git-Tag: v4.14-rc1~1973^2~254^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5489ee897685d4bfa8de13b4e13c6da7da2d8607;p=platform%2Fkernel%2Flinux-rpi3.git net: ethernet: mvneta: 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 Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/marvell/mvneta.c b/drivers/net/ethernet/marvell/mvneta.c index b85819e..87274d4 100644 --- a/drivers/net/ethernet/marvell/mvneta.c +++ b/drivers/net/ethernet/marvell/mvneta.c @@ -3811,6 +3811,7 @@ static const struct net_device_ops mvneta_netdev_ops = { }; const struct ethtool_ops mvneta_eth_tool_ops = { + .nway_reset = phy_ethtool_nway_reset, .get_link = ethtool_op_get_link, .set_coalesce = mvneta_ethtool_set_coalesce, .get_coalesce = mvneta_ethtool_get_coalesce,