From e6a8d8aefe517b69277575c78ca57c166f46e70a Mon Sep 17 00:00:00 2001 From: nbd Date: Fri, 10 Apr 2009 11:27:39 +0000 Subject: atheros: ignore reports about oversized ethernet frames, as can be caused by the header mode of marvell 88e6060 switches (see https://dev.openwrt.org/ticket/3507#comment:16) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15185 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/atheros/patches-2.6.28/110-ar2313_ethernet.patch | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'target/linux/atheros/patches-2.6.28/110-ar2313_ethernet.patch') diff --git a/target/linux/atheros/patches-2.6.28/110-ar2313_ethernet.patch b/target/linux/atheros/patches-2.6.28/110-ar2313_ethernet.patch index 3643c963a..f33313c07 100644 --- a/target/linux/atheros/patches-2.6.28/110-ar2313_ethernet.patch +++ b/target/linux/atheros/patches-2.6.28/110-ar2313_ethernet.patch @@ -25,7 +25,7 @@ obj-$(CONFIG_DECLANCE) += declance.o --- /dev/null +++ b/drivers/net/ar231x.c -@@ -0,0 +1,1265 @@ +@@ -0,0 +1,1264 @@ +/* + * ar231x.c: Linux driver for the Atheros AR231x Ethernet device. + * @@ -833,8 +833,7 @@ + break; + } + -+ if ((status & (DMA_RX_ERROR | DMA_RX_ERR_LENGTH)) && -+ (!(status & DMA_RX_LONG))) { ++ if (status & DMA_RX_ERROR) { + dev->stats.rx_errors++; + dev->stats.rx_dropped++; + -- cgit v1.2.3