projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5489ee8
)
net: ethernet: mvpp2: Implement ethtool::nway_reset
author
Florian Fainelli
<f.fainelli@gmail.com>
Tue, 15 Nov 2016 19:19:48 +0000
(11:19 -0800)
committer
David S. Miller
<davem@davemloft.net>
Wed, 16 Nov 2016 18:44:01 +0000
(13:44 -0500)
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/marvell/mvpp2.c
b/drivers/net/ethernet/marvell/mvpp2.c
index c8bf155cad94c9155c379bde35562ca0977e1515..ee857868bea57ff738d4469fc4d6e7325fb7d67f 100644
(file)
--- a/
drivers/net/ethernet/marvell/mvpp2.c
+++ b/
drivers/net/ethernet/marvell/mvpp2.c
@@
-5923,6
+5923,7
@@
static const struct net_device_ops mvpp2_netdev_ops = {
};
static const struct ethtool_ops mvpp2_eth_tool_ops = {
+ .nway_reset = phy_ethtool_nway_reset,
.get_link = ethtool_op_get_link,
.set_coalesce = mvpp2_ethtool_set_coalesce,
.get_coalesce = mvpp2_ethtool_get_coalesce,