Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 13f0ac41 authored by Florian Fainelli's avatar Florian Fainelli Committed by David S. Miller
Browse files

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: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 00606c49
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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,