aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/storm/patches/1003-gmac_one_phy.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/storm/patches/1003-gmac_one_phy.patch')
-rw-r--r--target/linux/storm/patches/1003-gmac_one_phy.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/storm/patches/1003-gmac_one_phy.patch b/target/linux/storm/patches/1003-gmac_one_phy.patch
new file mode 100644
index 0000000000..4697a2b34c
--- /dev/null
+++ b/target/linux/storm/patches/1003-gmac_one_phy.patch
@@ -0,0 +1,13 @@
+Index: linux-2.6.x/include/asm-arm/arch-sl2312/sl351x_gmac.h
+===================================================================
+--- linux-2.6.x.orig/include/asm-arm/arch-sl2312/sl351x_gmac.h 2007-09-04 14:18:28.540865746 +0300
++++ linux-2.6.x/include/asm-arm/arch-sl2312/sl351x_gmac.h 2007-09-04 14:15:55.584200244 +0300
+@@ -21,7 +21,7 @@
+ #undef BIG_ENDIAN
+ #define BIG_ENDIAN 0
+ #define GMAC_DEBUG 1
+-#define GMAC_NUM 2
++#define GMAC_NUM 1
+ //#define L2_jumbo_frame 1
+
+ #define _PACKED_ __attribute__ ((aligned(1), packed))