aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2016-11-15 10:06:30 -0800
committerDavid S. Miller <davem@davemloft.net>2016-11-15 16:33:35 -0500
commite86a8987e458a1826f509c41494b0b29a61144a7 (patch)
treebe43672cce5a26dc00630cebd4cfcb30f0baf1c6 /include
parentvxlan: Fix uninitialized variable warnings. (diff)
downloadlinux-dev-e86a8987e458a1826f509c41494b0b29a61144a7.tar.xz
linux-dev-e86a8987e458a1826f509c41494b0b29a61144a7.zip
net: phy: Add phy_ethtool_nway_reset
This function just calls into genphy_restart_aneg() to perform an autonegotation restart. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/phy.h1
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);