summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-05-07 07:33:48 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-05-07 07:33:48 +0000
commit4a2ab2e0d424225461f78798fd12ddd37a49334e (patch)
treeda7239d7d3d721262c3f1139ff57ef955210cd87
parentdf8f1aa9c3466f80739d97f1499cf4f0e0965b95 (diff)
downloadmtk-20170518-4a2ab2e0d424225461f78798fd12ddd37a49334e.zip
mtk-20170518-4a2ab2e0d424225461f78798fd12ddd37a49334e.tar.gz
mtk-20170518-4a2ab2e0d424225461f78798fd12ddd37a49334e.tar.bz2
remove the NETIF_F_HW_CSUM flag from the ar2313 ethernet driver as it seems to be causing problems for various devices
SVN-Revision: 11058
-rw-r--r--target/linux/atheros/files/drivers/net/ar2313/ar2313.c2
-rw-r--r--target/linux/atheros/patches-2.6.23/200-ar2313_enable_mvswitch.patch9
2 files changed, 1 insertions, 10 deletions
diff --git a/target/linux/atheros/files/drivers/net/ar2313/ar2313.c b/target/linux/atheros/files/drivers/net/ar2313/ar2313.c
index 873ee63..985af02 100644
--- a/target/linux/atheros/files/drivers/net/ar2313/ar2313.c
+++ b/target/linux/atheros/files/drivers/net/ar2313/ar2313.c
@@ -219,7 +219,7 @@ int __init ar2313_probe(struct platform_device *pdev)
dev->do_ioctl = &ar2313_ioctl;
// SAMEER: do we need this?
- dev->features |= NETIF_F_SG | NETIF_F_HIGHDMA;
+ dev->features |= NETIF_F_HIGHDMA;
tasklet_init(&sp->rx_tasklet, rx_tasklet_func, (unsigned long) dev);
tasklet_disable(&sp->rx_tasklet);
diff --git a/target/linux/atheros/patches-2.6.23/200-ar2313_enable_mvswitch.patch b/target/linux/atheros/patches-2.6.23/200-ar2313_enable_mvswitch.patch
index 09c1797..fb89bdb 100644
--- a/target/linux/atheros/patches-2.6.23/200-ar2313_enable_mvswitch.patch
+++ b/target/linux/atheros/patches-2.6.23/200-ar2313_enable_mvswitch.patch
@@ -2,15 +2,6 @@ Index: linux-2.6.23.16/drivers/net/ar2313/ar2313.c
===================================================================
--- linux-2.6.23.16.orig/drivers/net/ar2313/ar2313.c 2008-04-29 14:51:39.000000000 +0200
+++ linux-2.6.23.16/drivers/net/ar2313/ar2313.c 2008-04-29 14:52:14.000000000 +0200
-@@ -219,7 +219,7 @@
- dev->do_ioctl = &ar2313_ioctl;
-
- // SAMEER: do we need this?
-- dev->features |= NETIF_F_SG | NETIF_F_HIGHDMA;
-+ dev->features |= NETIF_F_HIGHDMA | NETIF_F_HW_CSUM;
-
- tasklet_init(&sp->rx_tasklet, rx_tasklet_func, (unsigned long) dev);
- tasklet_disable(&sp->rx_tasklet);
@@ -953,9 +953,9 @@
((status >> DMA_RX_LEN_SHIFT) & 0x3fff) - CRC_LEN);