aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-04-16 20:23:35 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-04-16 20:23:35 +0000
commit64ab9ac1e88389a87cf07ae264c946a58c428d74 (patch)
tree4abc57b5c5cfd55cbb1f256019d0a4d9f231cb53 /target
parentf11f6fe4002f7b5a83f064f7d339d3258f50810c (diff)
downloadupstream-64ab9ac1e88389a87cf07ae264c946a58c428d74.tar.gz
upstream-64ab9ac1e88389a87cf07ae264c946a58c428d74.tar.bz2
upstream-64ab9ac1e88389a87cf07ae264c946a58c428d74.zip
gemini: either scatter/gather dma or hw checksum breaks ethernet, comment out the define that enables both
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20940 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/gemini/patches/110-disable_hw_chksum_and_sg.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/gemini/patches/110-disable_hw_chksum_and_sg.patch b/target/linux/gemini/patches/110-disable_hw_chksum_and_sg.patch
new file mode 100644
index 0000000000..b8a472c472
--- /dev/null
+++ b/target/linux/gemini/patches/110-disable_hw_chksum_and_sg.patch
@@ -0,0 +1,11 @@
+--- a/drivers/net/gemini_negmac/gm_gmac.c
++++ b/drivers/net/gemini_negmac/gm_gmac.c
+@@ -42,7 +42,7 @@
+ #include "gm_gmac.h"
+
+ /* #define GMAX_TX_INTR_DISABLED */
+-#define DO_HW_CHKSUM
++/* #define DO_HW_CHKSUM */
+ /* #define ENABLE_TSO */
+ #define GMAC_USE_TXQ0
+ /* #define GMAC_LEN_1_2_ISSUE */