aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/storm/patches/1003-gmac_one_phy.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2008-04-27 17:03:01 +0000
committerImre Kaloz <kaloz@openwrt.org>2008-04-27 17:03:01 +0000
commit3166c564d96709eea69fd48b89587d78577b49f7 (patch)
tree44a709d369ce31f92fa83676b58e430e25233d01 /target/linux/storm/patches/1003-gmac_one_phy.patch
parentac347b46b0f895afc1b473a2ed5574d82863f2da (diff)
downloadmaster-187ad058-3166c564d96709eea69fd48b89587d78577b49f7.tar.gz
master-187ad058-3166c564d96709eea69fd48b89587d78577b49f7.tar.bz2
master-187ad058-3166c564d96709eea69fd48b89587d78577b49f7.zip
add preliminary support for Storm SL3512 based devices, not ready yet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10956 3c298f89-4303-0410-b956-a3cf2f4a3e73
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))