diff options
Diffstat (limited to 'target/linux/mvebu/patches-4.4/137-net-mvneta-add-nway_reset-support.patch')
-rw-r--r-- | target/linux/mvebu/patches-4.4/137-net-mvneta-add-nway_reset-support.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/target/linux/mvebu/patches-4.4/137-net-mvneta-add-nway_reset-support.patch b/target/linux/mvebu/patches-4.4/137-net-mvneta-add-nway_reset-support.patch deleted file mode 100644 index 034b596..0000000 --- a/target/linux/mvebu/patches-4.4/137-net-mvneta-add-nway_reset-support.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 244bee2889d08f876c64c335765a8ea6de0f5381 Mon Sep 17 00:00:00 2001 -From: Russell King <rmk+kernel@arm.linux.org.uk> -Date: Thu, 1 Oct 2015 19:40:31 +0100 -Subject: [PATCH 725/744] net: mvneta: add nway_reset support - -Add ethtool nway_reset support to mvneta via phylink, so that userspace -can request the link in whatever mode to be renegotiated via -ethtool -r ethX. - -Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> ---- - drivers/net/ethernet/marvell/mvneta.c | 8 ++++++++ - 1 file changed, 8 insertions(+) - ---- a/drivers/net/ethernet/marvell/mvneta.c -+++ b/drivers/net/ethernet/marvell/mvneta.c -@@ -3589,6 +3589,13 @@ int mvneta_ethtool_set_settings(struct n - return phylink_ethtool_set_settings(pp->phylink, cmd); - } - -+static int mvneta_ethtool_nway_reset(struct net_device *dev) -+{ -+ struct mvneta_port *pp = netdev_priv(dev); -+ -+ return phylink_ethtool_nway_reset(pp->phylink); -+} -+ - /* Set interrupt coalescing for ethtools */ - static int mvneta_ethtool_set_coalesce(struct net_device *dev, - struct ethtool_coalesce *c) -@@ -3853,6 +3860,7 @@ const struct ethtool_ops mvneta_eth_tool - .get_link = ethtool_op_get_link, - .get_settings = mvneta_ethtool_get_settings, - .set_settings = mvneta_ethtool_set_settings, -+ .nway_reset = mvneta_ethtool_nway_reset, - .set_coalesce = mvneta_ethtool_set_coalesce, - .get_coalesce = mvneta_ethtool_get_coalesce, - .get_drvinfo = mvneta_ethtool_get_drvinfo, |