diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-10-01 20:27:19 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2017-02-20 10:47:20 +0000 |
commit | 4cea386c796896b75a66fa705644a4cf3fba1ac7 (patch) | |
tree | 810efa024dab65273eb37e83d26c51afdab45143 /include | |
parent | 86ecd5d80e574175bde4bca8945688419616b52d (diff) |
phylink: add ethtool nway_reset support
Add ethtool nway_reset support to phylink, to allow userspace to
request a re-negotiation of the link.
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/phylink.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/phylink.h b/include/linux/phylink.h index 2c3facb91a65..0490e20ece7a 100644 --- a/include/linux/phylink.h +++ b/include/linux/phylink.h @@ -113,6 +113,7 @@ int phylink_ethtool_ksettings_get(struct phylink *, struct ethtool_link_ksettings *); int phylink_ethtool_ksettings_set(struct phylink *, const struct ethtool_link_ksettings *); +int phylink_ethtool_nway_reset(struct phylink *); int phylink_mii_ioctl(struct phylink *, struct ifreq *, int); int phylink_set_link(struct phylink *pl, unsigned int mode, u8 port, |