OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ae83ed
)
net: r6040: Allow restarting auto-negotiation
author
Florian Fainelli
<f.fainelli@gmail.com>
Sun, 23 May 2021 15:58:42 +0000
(08:58 -0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 24 May 2021 00:23:59 +0000
(17:23 -0700)
Use phy_ethtool_nway_reset() since the driver makes use of the PHY
library.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/rdc/r6040.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/rdc/r6040.c
b/drivers/net/ethernet/rdc/r6040.c
index
ef78c24
..
47e9998
100644
(file)
--- a/
drivers/net/ethernet/rdc/r6040.c
+++ b/
drivers/net/ethernet/rdc/r6040.c
@@
-943,6
+943,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,
};
static const struct net_device_ops r6040_netdev_ops = {