diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-03-12 16:27:56 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-03-12 16:27:56 +0000 |
commit | 4d821bdfe2fd45bcd24a032e02832b3e2d568090 (patch) | |
tree | cbebc5e52d178f7b1c47da0c387101f22066d1ac /target | |
parent | cf75824379547ad0e624b42c683e6483a4c0773a (diff) | |
download | master-187ad058-4d821bdfe2fd45bcd24a032e02832b3e2d568090.tar.gz master-187ad058-4d821bdfe2fd45bcd24a032e02832b3e2d568090.tar.bz2 master-187ad058-4d821bdfe2fd45bcd24a032e02832b3e2d568090.zip |
ar71xx: fix Compex WPE72 detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30902 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
4 files changed, 14 insertions, 8 deletions
diff --git a/target/linux/ar71xx/patches-3.2/507-MIPS-ath79-prom-add-myloader-support.patch b/target/linux/ar71xx/patches-3.2/507-MIPS-ath79-prom-add-myloader-support.patch index 137bf6b84e..67c1faf9b0 100644 --- a/target/linux/ar71xx/patches-3.2/507-MIPS-ath79-prom-add-myloader-support.patch +++ b/target/linux/ar71xx/patches-3.2/507-MIPS-ath79-prom-add-myloader-support.patch @@ -8,7 +8,7 @@ #include "common.h" -@@ -69,6 +70,34 @@ static const char * __init ath79_prom_fi +@@ -69,6 +70,37 @@ static const char * __init ath79_prom_fi return ret; } @@ -26,6 +26,9 @@ + case DEVID_COMPEX_WP543: + ath79_prom_append_cmdline("board", "WP543"); + break; ++ case DEVID_COMPEX_WPE72: ++ ath79_prom_append_cmdline("board", "WPE72"); ++ break; + default: + pr_warn("prom: unknown device id: %x\n", mylo->did); + return 0; @@ -43,7 +46,7 @@ static __init void ath79_prom_init_cmdline(int argc, char **argv) { int i; -@@ -88,6 +117,9 @@ void __init prom_init(void) +@@ -88,6 +120,9 @@ void __init prom_init(void) const char *env; char **envp; diff --git a/target/linux/ar71xx/patches-3.2/508-MIPS-ath79-prom-image-command-line-hack.patch b/target/linux/ar71xx/patches-3.2/508-MIPS-ath79-prom-image-command-line-hack.patch index 062e513a35..72a3b56649 100644 --- a/target/linux/ar71xx/patches-3.2/508-MIPS-ath79-prom-image-command-line-hack.patch +++ b/target/linux/ar71xx/patches-3.2/508-MIPS-ath79-prom-image-command-line-hack.patch @@ -36,7 +36,7 @@ static int __init ath79_prom_init_myloader(void) { struct myloader_info *mylo; -@@ -95,6 +124,8 @@ static int __init ath79_prom_init_myload +@@ -98,6 +127,8 @@ static int __init ath79_prom_init_myload ath79_prom_append_cmdline("ethaddr", mac_buf); @@ -45,7 +45,7 @@ return 1; } -@@ -102,6 +133,9 @@ static __init void ath79_prom_init_cmdli +@@ -105,6 +136,9 @@ static __init void ath79_prom_init_cmdli { int i; diff --git a/target/linux/ar71xx/patches-3.3/507-MIPS-ath79-prom-add-myloader-support.patch b/target/linux/ar71xx/patches-3.3/507-MIPS-ath79-prom-add-myloader-support.patch index 137bf6b84e..67c1faf9b0 100644 --- a/target/linux/ar71xx/patches-3.3/507-MIPS-ath79-prom-add-myloader-support.patch +++ b/target/linux/ar71xx/patches-3.3/507-MIPS-ath79-prom-add-myloader-support.patch @@ -8,7 +8,7 @@ #include "common.h" -@@ -69,6 +70,34 @@ static const char * __init ath79_prom_fi +@@ -69,6 +70,37 @@ static const char * __init ath79_prom_fi return ret; } @@ -26,6 +26,9 @@ + case DEVID_COMPEX_WP543: + ath79_prom_append_cmdline("board", "WP543"); + break; ++ case DEVID_COMPEX_WPE72: ++ ath79_prom_append_cmdline("board", "WPE72"); ++ break; + default: + pr_warn("prom: unknown device id: %x\n", mylo->did); + return 0; @@ -43,7 +46,7 @@ static __init void ath79_prom_init_cmdline(int argc, char **argv) { int i; -@@ -88,6 +117,9 @@ void __init prom_init(void) +@@ -88,6 +120,9 @@ void __init prom_init(void) const char *env; char **envp; diff --git a/target/linux/ar71xx/patches-3.3/508-MIPS-ath79-prom-image-command-line-hack.patch b/target/linux/ar71xx/patches-3.3/508-MIPS-ath79-prom-image-command-line-hack.patch index 062e513a35..72a3b56649 100644 --- a/target/linux/ar71xx/patches-3.3/508-MIPS-ath79-prom-image-command-line-hack.patch +++ b/target/linux/ar71xx/patches-3.3/508-MIPS-ath79-prom-image-command-line-hack.patch @@ -36,7 +36,7 @@ static int __init ath79_prom_init_myloader(void) { struct myloader_info *mylo; -@@ -95,6 +124,8 @@ static int __init ath79_prom_init_myload +@@ -98,6 +127,8 @@ static int __init ath79_prom_init_myload ath79_prom_append_cmdline("ethaddr", mac_buf); @@ -45,7 +45,7 @@ return 1; } -@@ -102,6 +133,9 @@ static __init void ath79_prom_init_cmdli +@@ -105,6 +136,9 @@ static __init void ath79_prom_init_cmdli { int i; |