Adjust mvneta-tx-queue-workaround patch on mvebu-current

This commit is contained in:
Jannis 2020-01-12 20:22:47 +01:00
parent 9947814375
commit 92a816e557

View file

@ -9,7 +9,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
---
--- a/drivers/net/ethernet/marvell/mvneta.c
+++ b/drivers/net/ethernet/marvell/mvneta.c
@@ -3961,6 +3961,15 @@ static int mvneta_ethtool_set_wol(struct
@@ -4216,6 +4216,16 @@ static int mvneta_ethtool_set_wol(struct net_device *dev,
return ret;
}
@ -22,10 +22,11 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
+ return 0;
+}
+
static const struct net_device_ops mvneta_netdev_ops = {
.ndo_open = mvneta_open,
.ndo_stop = mvneta_stop,
@@ -3971,6 +3980,7 @@ static const struct net_device_ops mvnet
+
static int mvneta_ethtool_get_eee(struct net_device *dev,
struct ethtool_eee *eee)
{
@@ -4267,6 +4277,7 @@ static const struct net_device_ops mvneta_netdev_ops = {
.ndo_fix_features = mvneta_fix_features,
.ndo_get_stats64 = mvneta_get_stats64,
.ndo_do_ioctl = mvneta_ioctl,