summaryrefslogtreecommitdiff
path: root/target/linux/gemini
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
commitb0cf1f5baa110f8b6908012c23178a93e4ee1a68 (patch)
tree981b541063969584bd8eb0860b2af5ebcf03cde0 /target/linux/gemini
parentf7cc3d576cec068f7722da7d86885164cdf99823 (diff)
downloadmtk-20170518-b0cf1f5baa110f8b6908012c23178a93e4ee1a68.zip
mtk-20170518-b0cf1f5baa110f8b6908012c23178a93e4ee1a68.tar.gz
mtk-20170518-b0cf1f5baa110f8b6908012c23178a93e4ee1a68.tar.bz2
gemini: either scatter/gather dma or hw checksum breaks ethernet, comment out the define that enables both
SVN-Revision: 20940
Diffstat (limited to 'target/linux/gemini')
-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 0000000..b8a472c
--- /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 */