net: stmmac: Implement ethtool::nway_reset
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 15 Nov 2016 19:19:45 +0000 (11:19 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Nov 2016 18:44:00 +0000 (13:44 -0500)
commitcab247e9dfae4da574b2b2a5ff22da9c3a94f1d7
tree6aeb8b4b19eed4a56c056fd23688242c76117672
parentfc3f9146cec6ced8866071f711aba3f356af65f6
net: stmmac: Implement ethtool::nway_reset

Utilize the generic phy_ethtool_nway_reset() helper function to
implement an autonegotiation restart.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c