X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/b84c7cd55bbb93415024fdc07543149d11874221..adde7768a2eab2950a7628319ec832c63a00ff03:/target/linux/atheros/patches-2.6.23/200-ar2313_enable_mvswitch.patch?ds=sidebyside 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 09c17977d..ddf7d1d8d 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 @@ -1,17 +1,8 @@ -Index: linux-2.6.23.16/drivers/net/ar2313/ar2313.c +Index: linux-2.6.23.17/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 @@ +--- linux-2.6.23.17.orig/drivers/net/ar2313/ar2313.c ++++ linux-2.6.23.17/drivers/net/ar2313/ar2313.c +@@ -953,9 +953,9 @@ static int ar2313_rx_int(struct net_devi ((status >> DMA_RX_LEN_SHIFT) & 0x3fff) - CRC_LEN); dev->stats.rx_bytes += skb->len; @@ -23,7 +14,7 @@ Index: linux-2.6.23.16/drivers/net/ar2313/ar2313.c skb_new->dev = dev; /* 16 bit align */ -@@ -1370,6 +1370,8 @@ +@@ -1370,6 +1370,8 @@ static int mdiobus_probe (struct net_dev return PTR_ERR(phydev); } @@ -32,11 +23,11 @@ Index: linux-2.6.23.16/drivers/net/ar2313/ar2313.c /* mask with MAC supported features */ phydev->supported &= (SUPPORTED_10baseT_Half | SUPPORTED_10baseT_Full -Index: linux-2.6.23.16/drivers/net/ar2313/ar2313.h +Index: linux-2.6.23.17/drivers/net/ar2313/ar2313.h =================================================================== ---- linux-2.6.23.16.orig/drivers/net/ar2313/ar2313.h 2008-04-29 14:51:39.000000000 +0200 -+++ linux-2.6.23.16/drivers/net/ar2313/ar2313.h 2008-04-29 14:52:15.000000000 +0200 -@@ -107,6 +107,8 @@ +--- linux-2.6.23.17.orig/drivers/net/ar2313/ar2313.h ++++ linux-2.6.23.17/drivers/net/ar2313/ar2313.h +@@ -107,6 +107,8 @@ typedef struct { */ struct ar2313_private { struct net_device *dev;