mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-03-29 03:08:53 +02:00
remove the NETIF_F_HW_CSUM flag from the ar2313 ethernet driver as it seems to be causing problems for various devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11058 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
4856577aeb
commit
061ec04f2f
@ -219,7 +219,7 @@ int __init ar2313_probe(struct platform_device *pdev)
|
|||||||
dev->do_ioctl = &ar2313_ioctl;
|
dev->do_ioctl = &ar2313_ioctl;
|
||||||
|
|
||||||
// SAMEER: do we need this?
|
// 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_init(&sp->rx_tasklet, rx_tasklet_func, (unsigned long) dev);
|
||||||
tasklet_disable(&sp->rx_tasklet);
|
tasklet_disable(&sp->rx_tasklet);
|
||||||
|
@ -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.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
|
+++ 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 @@
|
@@ -953,9 +953,9 @@
|
||||||
((status >> DMA_RX_LEN_SHIFT) & 0x3fff) - CRC_LEN);
|
((status >> DMA_RX_LEN_SHIFT) & 0x3fff) - CRC_LEN);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user