diff options
author | John Crispin <blogic@openwrt.org> | 2014-01-12 12:07:20 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-01-12 12:07:20 +0000 |
commit | 8abf84130ae8c80170d4421775e8a54227d169e4 (patch) | |
tree | 85cf2339f43e9331a60b8c94859e2b88d8e5c600 | |
parent | 589282a05c1ae866680929f013c133f7186851c5 (diff) | |
download | master-187ad058-8abf84130ae8c80170d4421775e8a54227d169e4.tar.gz master-187ad058-8abf84130ae8c80170d4421775e8a54227d169e4.tar.bz2 master-187ad058-8abf84130ae8c80170d4421775e8a54227d169e4.zip |
ralink: fix rt5350 ethernet
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39233 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | target/linux/ramips/patches-3.10/999-raeth_fixes.patch | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/target/linux/ramips/patches-3.10/999-raeth_fixes.patch b/target/linux/ramips/patches-3.10/999-raeth_fixes.patch index 66f8a0b988..addf84cba6 100644 --- a/target/linux/ramips/patches-3.10/999-raeth_fixes.patch +++ b/target/linux/ramips/patches-3.10/999-raeth_fixes.patch @@ -1,6 +1,8 @@ ---- a/drivers/net/ethernet/ralink/ralink_soc_eth.c -+++ b/drivers/net/ethernet/ralink/ralink_soc_eth.c -@@ -335,7 +335,7 @@ static int fe_start_xmit(struct sk_buff +Index: linux-3.10.26/drivers/net/ethernet/ralink/ralink_soc_eth.c +=================================================================== +--- linux-3.10.26.orig/drivers/net/ethernet/ralink/ralink_soc_eth.c 2014-01-12 11:49:40.052069844 +0100 ++++ linux-3.10.26/drivers/net/ethernet/ralink/ralink_soc_eth.c 2014-01-12 12:49:31.776155429 +0100 +@@ -335,7 +335,7 @@ if (priv->soc->tso) fe_start_tso(skb, dev, nr_frags, tx); @@ -9,3 +11,13 @@ struct iphdr *iph = NULL; struct tcphdr *th = NULL; struct ipv6hdr *ip6h = NULL; +@@ -741,8 +741,7 @@ + dev_info(&pdev->dev, "Enabling TSO\n"); + netdev->features |= NETIF_F_SG | NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_IPV6_CSUM; + } +- +- netdev->hw_features = netdev->vlan_features = netdev->features; ++ netdev->hw_features = netdev->features; + + netdev->irq = platform_get_irq(pdev, 0); + if (netdev->irq < 0) { |