remove the NETIF_F_HW_CSUM flag from the ar2313 ethernet driver as it seems to be...
authorFelix Fietkau <nbd@openwrt.org>
Wed, 7 May 2008 07:33:48 +0000 (07:33 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 7 May 2008 07:33:48 +0000 (07:33 +0000)
SVN-Revision: 11058

target/linux/atheros/files/drivers/net/ar2313/ar2313.c
target/linux/atheros/patches-2.6.23/200-ar2313_enable_mvswitch.patch

index 873ee639702a1d8c17f587ccb8f96b03048cffe3..985af024c74a9d506632f6cbc5be4379e92bb0a1 100644 (file)
@@ -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);
index 09c17977dfc4ca735841d8f05a9141a2933ec621..fb89bdb9fc8f07e1be9d64e39011a8b1ca4d7f4f 100644 (file)
@@ -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);