From: Florian Fainelli <f.fainelli@gmail.com>
To: netdev@vger.kernel.org
Cc: davem@davemloft.net, andrew@lunn.ch, tremyfr@gmail.com,
Florian Fainelli <f.fainelli@gmail.com>,
Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>,
Jisheng Zhang <jszhang@marvell.com>,
Peter Chen <peter.chen@nxp.com>, Jarod Wilson <jarod@redhat.com>,
Florian Westphal <fw@strlen.de>,
linux-kernel@vger.kernel.org (open list)
Subject: [PATCH net-next 5/5] net: ethernet: marvell: pxa168_eth: Implement ethtool::nway_reset
Date: Tue, 15 Nov 2016 11:19:49 -0800 [thread overview]
Message-ID: <20161115191949.15361-6-f.fainelli@gmail.com> (raw)
In-Reply-To: <20161115191949.15361-1-f.fainelli@gmail.com>
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/pxa168_eth.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/marvell/pxa168_eth.c b/drivers/net/ethernet/marvell/pxa168_eth.c
index b78a838f306c..3af2814ada23 100644
--- a/drivers/net/ethernet/marvell/pxa168_eth.c
+++ b/drivers/net/ethernet/marvell/pxa168_eth.c
@@ -1393,6 +1393,7 @@ static void pxa168_get_drvinfo(struct net_device *dev,
static const struct ethtool_ops pxa168_ethtool_ops = {
.get_drvinfo = pxa168_get_drvinfo,
+ .nway_reset = phy_ethtool_nway_reset,
.get_link = ethtool_op_get_link,
.get_ts_info = ethtool_op_get_ts_info,
.get_link_ksettings = pxa168_get_link_ksettings,
--
2.9.3
prev parent reply other threads:[~2016-11-15 19:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20161115191949.15361-1-f.fainelli@gmail.com>
2016-11-15 19:19 ` [PATCH net-next 1/5] net: stmmac: Implement ethtool::nway_reset Florian Fainelli
2016-11-17 16:38 ` Giuseppe CAVALLARO
2016-11-15 19:19 ` [PATCH net-next 2/5] net: ethoc: " Florian Fainelli
2016-11-16 7:38 ` Tobias Klauser
2016-11-15 19:19 ` [PATCH net-next 3/5] net: ethernet: mvneta: " Florian Fainelli
2016-11-15 19:19 ` [PATCH net-next 4/5] net: ethernet: mvpp2: " Florian Fainelli
2016-11-15 19:19 ` Florian Fainelli [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161115191949.15361-6-f.fainelli@gmail.com \
--to=f.fainelli@gmail.com \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=fw@strlen.de \
--cc=jarod@redhat.com \
--cc=jszhang@marvell.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=peter.chen@nxp.com \
--cc=sergei.shtylyov@cogentembedded.com \
--cc=tremyfr@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox