From: Florian Fainelli Date: Tue, 15 Nov 2016 19:19:49 +0000 (-0800) Subject: net: ethernet: marvell: pxa168_eth: Implement ethtool::nway_reset X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=13f0ac41095587a23176f169b7f4557418017ade;p=openwrt%2Fstaging%2Fblogic.git net: ethernet: marvell: pxa168_eth: 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/pxa168_eth.c b/drivers/net/ethernet/marvell/pxa168_eth.c index b78a838f306c..3af2814ada23 100644 --- a/drivers/net/ethernet/marvell/pxa168_eth.c +++ b/drivers/net/ethernet/marvell/pxa168_eth.c @@ -1393,6 +1393,7 @@ static void pxa168_get_drvinfo(struct net_device *dev, static const struct ethtool_ops pxa168_ethtool_ops = { .get_drvinfo = pxa168_get_drvinfo, + .nway_reset = phy_ethtool_nway_reset, .get_link = ethtool_op_get_link, .get_ts_info = ethtool_op_get_ts_info, .get_link_ksettings = pxa168_get_link_ksettings,