* [PATCH net-next] net: r6040: Allow restarting auto-negotiation
@ 2021-05-23 15:58 Florian Fainelli
2021-05-24 12:24 ` Andrew Lunn
0 siblings, 1 reply; 2+ messages in thread
From: Florian Fainelli @ 2021-05-23 15:58 UTC (permalink / raw)
To: netdev; +Cc: Florian Fainelli, David S. Miller, Jakub Kicinski, open list
Use phy_ethtool_nway_reset() since the driver makes use of the PHY
library.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
drivers/net/ethernet/rdc/r6040.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/rdc/r6040.c b/drivers/net/ethernet/rdc/r6040.c
index 80fee3a9b603..dd9286f520b6 100644
--- a/drivers/net/ethernet/rdc/r6040.c
+++ b/drivers/net/ethernet/rdc/r6040.c
@@ -972,6 +972,7 @@ static const struct ethtool_ops netdev_ethtool_ops = {
.get_ts_info = ethtool_op_get_ts_info,
.get_link_ksettings = phy_ethtool_get_link_ksettings,
.set_link_ksettings = phy_ethtool_set_link_ksettings,
+ .nway_reset = phy_ethtool_nway_reset,
.get_regs_len = r6040_get_regs_len,
.get_regs = r6040_get_regs,
};
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next] net: r6040: Allow restarting auto-negotiation
2021-05-23 15:58 [PATCH net-next] net: r6040: Allow restarting auto-negotiation Florian Fainelli
@ 2021-05-24 12:24 ` Andrew Lunn
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Lunn @ 2021-05-24 12:24 UTC (permalink / raw)
To: Florian Fainelli; +Cc: netdev, David S. Miller, Jakub Kicinski, open list
On Sun, May 23, 2021 at 08:58:42AM -0700, Florian Fainelli wrote:
> Use phy_ethtool_nway_reset() since the driver makes use of the PHY
> library.
>
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Andrew
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-05-24 12:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-23 15:58 [PATCH net-next] net: r6040: Allow restarting auto-negotiation Florian Fainelli
2021-05-24 12:24 ` Andrew Lunn
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.