diff options
author | David S. Miller <davem@davemloft.net> | 2016-11-16 00:33:38 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-16 00:33:38 +0300 |
commit | 8a29659132eb0a50b14f014303857124b2a80274 (patch) | |
tree | 2e2f01cc575ca7f4debe819a62d6c4661da8b4da /include/linux/phy.h | |
parent | 8ebd115bb23ac42f14a5e242500be61d8606b82d (diff) | |
parent | 860ce4b4015c4d54d8cd6fa9158d5b4a6476dffc (diff) | |
download | linux-8a29659132eb0a50b14f014303857124b2a80274.tar.xz |
Merge branch 'phy_ethtool_nway_reset'
Florian Fainelli says:
====================
net: phy: Centralize auto-negotation restart
This patch series centralizes how ethtool::nway_reset is implemented
by providing a PHYLIB function which calls into genphy_restart_aneg().
All drivers below are converted to use this new helper function. Some
other have specific requirements that make them not quite suitable for
a straight forward conversion.
There is another patch series which implements ethtool::nway_reset
using the helper function introduced that depends on this patch
series.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/phy.h')
-rw-r--r-- | include/linux/phy.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/phy.h b/include/linux/phy.h index 9880d73a2c3d..b9bd3b4f4ea1 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h @@ -860,6 +860,7 @@ int phy_ethtool_get_link_ksettings(struct net_device *ndev, struct ethtool_link_ksettings *cmd); int phy_ethtool_set_link_ksettings(struct net_device *ndev, const struct ethtool_link_ksettings *cmd); +int phy_ethtool_nway_reset(struct net_device *ndev); int __init mdio_bus_init(void); void mdio_bus_exit(void); |