OSDN Git Service

net: ethoc: Implement ethtool::nway_reset
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 15 Nov 2016 19:19:46 +0000 (11:19 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Nov 2016 18:44:00 +0000 (13:44 -0500)
commit3d3ba5685eed01058b4aa1d9c7c1d338100cc028
tree713a492c68de993edd408fa85c988afb0cfffa10
parentcab247e9dfae4da574b2b2a5ff22da9c3a94f1d7
net: ethoc: 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>
Reviewed-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ethoc.c