summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-04-16 20:23:35 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-04-16 20:23:35 +0000
commitb339192b67b806a6fd9c8f387cebc3421138f2a7 (patch)
tree4abc57b5c5cfd55cbb1f256019d0a4d9f231cb53 /target/linux
parent56f15bb5f9d1815311c5d511ae1a57d43f290e98 (diff)
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/linux')
-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 */