diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-12-13 11:54:57 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-12-13 11:54:57 +0000 |
commit | c7e8b5ebbdfa098436945e1721b34562cd488f6f (patch) | |
tree | ecf4a556d01dcd70743862e1ce5853e22c80b59b /target/linux/lantiq/patches-3.10/0207-NET-fix-etop-igplen.patch | |
parent | daeec86fba3fee15045429802f06cdd715c688c6 (diff) | |
download | upstream-c7e8b5ebbdfa098436945e1721b34562cd488f6f.tar.gz upstream-c7e8b5ebbdfa098436945e1721b34562cd488f6f.tar.bz2 upstream-c7e8b5ebbdfa098436945e1721b34562cd488f6f.zip |
lantiq: remove linux 3.10 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43685
Diffstat (limited to 'target/linux/lantiq/patches-3.10/0207-NET-fix-etop-igplen.patch')
-rw-r--r-- | target/linux/lantiq/patches-3.10/0207-NET-fix-etop-igplen.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/target/linux/lantiq/patches-3.10/0207-NET-fix-etop-igplen.patch b/target/linux/lantiq/patches-3.10/0207-NET-fix-etop-igplen.patch deleted file mode 100644 index 59bdcbf33b..0000000000 --- a/target/linux/lantiq/patches-3.10/0207-NET-fix-etop-igplen.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/drivers/net/ethernet/lantiq_etop.c -+++ b/drivers/net/ethernet/lantiq_etop.c -@@ -31,6 +31,7 @@ - #include <linux/mm.h> - #include <linux/platform_device.h> - #include <linux/ethtool.h> -+#include <linux/if_vlan.h> - #include <linux/init.h> - #include <linux/delay.h> - #include <linux/io.h> -@@ -764,8 +765,10 @@ ltq_etop_change_mtu(struct net_device *d - struct ltq_etop_priv *priv = netdev_priv(dev); - unsigned long flags; - -+ int max = ETH_HLEN + VLAN_HLEN + new_mtu + ETH_FCS_LEN; -+ - spin_lock_irqsave(&priv->lock, flags); -- ltq_etop_w32((ETOP_PLEN_UNDER << 16) | new_mtu, -+ ltq_etop_w32((ETOP_PLEN_UNDER << 16) | max, - LTQ_ETOP_IGPLEN); - spin_unlock_irqrestore(&priv->lock, flags); - } |