Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1523035 > unrolled thread

[PATCH net-next 3/5] net: ethernet: mvneta: Implement ethtool::nway_reset

Started byFlorian Fainelli <f.fainelli@gmail.com>
First post2016-11-15 20:30 +0100
Last post2016-11-15 20:30 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH net-next 3/5] net: ethernet: mvneta: Implement ethtool::nway_reset Florian Fainelli <f.fainelli@gmail.com> - 2016-11-15 20:30 +0100

#1523035 — [PATCH net-next 3/5] net: ethernet: mvneta: Implement ethtool::nway_reset

FromFlorian Fainelli <f.fainelli@gmail.com>
Date2016-11-15 20:30 +0100
Subject[PATCH net-next 3/5] net: ethernet: mvneta: Implement ethtool::nway_reset
Message-ID<sDRAC-EA-33@gated-at.bofh.it>
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>
---
 drivers/net/ethernet/marvell/mvneta.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ethernet/marvell/mvneta.c b/drivers/net/ethernet/marvell/mvneta.c
index b85819ea8eea..87274d4ab102 100644
--- a/drivers/net/ethernet/marvell/mvneta.c
+++ b/drivers/net/ethernet/marvell/mvneta.c
@@ -3811,6 +3811,7 @@ static const struct net_device_ops mvneta_netdev_ops = {
 };
 
 const struct ethtool_ops mvneta_eth_tool_ops = {
+	.nway_reset	= phy_ethtool_nway_reset,
 	.get_link       = ethtool_op_get_link,
 	.set_coalesce   = mvneta_ethtool_set_coalesce,
 	.get_coalesce   = mvneta_ethtool_get_coalesce,
-- 
2.9.3

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web