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


Groups > linux.kernel > #1523031 > unrolled thread

[PATCH net-next 2/5] net: ethoc: Implement ethtool::nway_reset

Started byFlorian Fainelli <f.fainelli@gmail.com>
First post2016-11-15 20:30 +0100
Last post2016-11-16 08:40 +0100
Articles 2 — 2 participants

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 2/5] net: ethoc: Implement ethtool::nway_reset Florian Fainelli <f.fainelli@gmail.com> - 2016-11-15 20:30 +0100
    Re: [PATCH net-next 2/5] net: ethoc: Implement ethtool::nway_reset Tobias Klauser <tklauser@distanz.ch> - 2016-11-16 08:40 +0100

#1523031 — [PATCH net-next 2/5] net: ethoc: Implement ethtool::nway_reset

FromFlorian Fainelli <f.fainelli@gmail.com>
Date2016-11-15 20:30 +0100
Subject[PATCH net-next 2/5] net: ethoc: Implement ethtool::nway_reset
Message-ID<sDRAC-EA-11@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/ethoc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ethernet/ethoc.c b/drivers/net/ethernet/ethoc.c
index c044667a0a25..6456c180114b 100644
--- a/drivers/net/ethernet/ethoc.c
+++ b/drivers/net/ethernet/ethoc.c
@@ -966,6 +966,7 @@ static int ethoc_set_ringparam(struct net_device *dev,
 const struct ethtool_ops ethoc_ethtool_ops = {
 	.get_regs_len = ethoc_get_regs_len,
 	.get_regs = ethoc_get_regs,
+	.nway_reset = phy_ethtool_nway_reset,
 	.get_link = ethtool_op_get_link,
 	.get_ringparam = ethoc_get_ringparam,
 	.set_ringparam = ethoc_set_ringparam,
-- 
2.9.3

[toc] | [next] | [standalone]


#1523266

FromTobias Klauser <tklauser@distanz.ch>
Date2016-11-16 08:40 +0100
Message-ID<sE2Z3-8iI-7@gated-at.bofh.it>
In reply to#1523031
On 2016-11-15 at 20:19:46 +0100, Florian Fainelli <f.fainelli@gmail.com> wrote:
> 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>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web