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


Groups > linux.kernel > #1523034 > unrolled thread

[PATCH net-next 1/5] net: stmmac: Implement ethtool::nway_reset

Started byFlorian Fainelli <f.fainelli@gmail.com>
First post2016-11-15 20:30 +0100
Last post2016-11-17 18:30 +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 1/5] net: stmmac: Implement ethtool::nway_reset Florian Fainelli <f.fainelli@gmail.com> - 2016-11-15 20:30 +0100
    Re: [PATCH net-next 1/5] net: stmmac: Implement ethtool::nway_reset Giuseppe CAVALLARO <peppe.cavallaro@st.com> - 2016-11-17 18:30 +0100

#1523034 — [PATCH net-next 1/5] net: stmmac: Implement ethtool::nway_reset

FromFlorian Fainelli <f.fainelli@gmail.com>
Date2016-11-15 20:30 +0100
Subject[PATCH net-next 1/5] net: stmmac: Implement ethtool::nway_reset
Message-ID<sDRAC-EA-31@gated-at.bofh.it>
Utilize the generic phy_ethtool_nway_reset() helper function to
implement an autonegotiation restart.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c
index 3fe9340b748f..0290d52330da 100644
--- a/drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c
+++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c
@@ -870,6 +870,7 @@ static const struct ethtool_ops stmmac_ethtool_ops = {
 	.get_regs = stmmac_ethtool_gregs,
 	.get_regs_len = stmmac_ethtool_get_regs_len,
 	.get_link = ethtool_op_get_link,
+	.nway_reset = phy_ethtool_nway_reset,
 	.get_pauseparam = stmmac_get_pauseparam,
 	.set_pauseparam = stmmac_set_pauseparam,
 	.get_ethtool_stats = stmmac_get_ethtool_stats,
-- 
2.9.3

[toc] | [next] | [standalone]


#1524559

FromGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Date2016-11-17 18:30 +0100
Message-ID<sEyFA-3CT-65@gated-at.bofh.it>
In reply to#1523034
On 11/15/2016 8:19 PM, Florian Fainelli wrote:
> Utilize the generic phy_ethtool_nway_reset() helper function to
> implement an autonegotiation restart.
>
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>

Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>

> ---
>  drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c
> index 3fe9340b748f..0290d52330da 100644
> --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c
> +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c
> @@ -870,6 +870,7 @@ static const struct ethtool_ops stmmac_ethtool_ops = {
>  	.get_regs = stmmac_ethtool_gregs,
>  	.get_regs_len = stmmac_ethtool_get_regs_len,
>  	.get_link = ethtool_op_get_link,
> +	.nway_reset = phy_ethtool_nway_reset,
>  	.get_pauseparam = stmmac_get_pauseparam,
>  	.set_pauseparam = stmmac_set_pauseparam,
>  	.get_ethtool_stats = stmmac_get_ethtool_stats,
>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web