diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-04-10 11:27:39 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-04-10 11:27:39 +0000 |
commit | f607e2cc76dc9bf6bd5fb90a3154c56a47d7e5fa (patch) | |
tree | bf0fac86478ccfb0b29ea79f0f78a0bd6b615fef /target/linux/atheros/patches-2.6.28/110-ar2313_ethernet.patch | |
parent | 2f9590a84c1ca01751ffe3e106051f3e0240525d (diff) | |
download | upstream-f607e2cc76dc9bf6bd5fb90a3154c56a47d7e5fa.tar.gz upstream-f607e2cc76dc9bf6bd5fb90a3154c56a47d7e5fa.tar.bz2 upstream-f607e2cc76dc9bf6bd5fb90a3154c56a47d7e5fa.zip |
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)
SVN-Revision: 15185
Diffstat (limited to 'target/linux/atheros/patches-2.6.28/110-ar2313_ethernet.patch')
-rw-r--r-- | target/linux/atheros/patches-2.6.28/110-ar2313_ethernet.patch | 5 |
1 files changed, 2 insertions, 3 deletions
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 3643c963a9..f33313c072 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++; + |