diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2006-06-15 22:17:32 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2006-06-15 22:17:32 +0000 |
commit | 02e8cd6b156739dcc8e1c1f5df8987f8804c5755 (patch) | |
tree | 287f1e03af23a9f9b4b38c6deeab83bf1a38ea1a /openwrt/target/linux | |
parent | 726e4fbdded4846bca1e2a95d8ed006b0efe654d (diff) | |
download | mtk-20170518-02e8cd6b156739dcc8e1c1f5df8987f8804c5755.zip mtk-20170518-02e8cd6b156739dcc8e1c1f5df8987f8804c5755.tar.gz mtk-20170518-02e8cd6b156739dcc8e1c1f5df8987f8804c5755.tar.bz2 |
return the correct system type for Aruba
SVN-Revision: 3958
Diffstat (limited to 'openwrt/target/linux')
-rw-r--r-- | openwrt/target/linux/aruba-2.6/patches/000-aruba.patch | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/openwrt/target/linux/aruba-2.6/patches/000-aruba.patch b/openwrt/target/linux/aruba-2.6/patches/000-aruba.patch index ee02c34..4263f8e 100644 --- a/openwrt/target/linux/aruba-2.6/patches/000-aruba.patch +++ b/openwrt/target/linux/aruba-2.6/patches/000-aruba.patch @@ -783,7 +783,7 @@ diff -Nur linux-2.6.16/arch/mips/aruba/serial.c linux-2.6.16-owrt/arch/mips/arub diff -Nur linux-2.6.16/arch/mips/aruba/setup.c linux-2.6.16-owrt/arch/mips/aruba/setup.c --- linux-2.6.16/arch/mips/aruba/setup.c 1970-01-01 01:00:00.000000000 +0100 +++ linux-2.6.16-owrt/arch/mips/aruba/setup.c 2006-03-20 14:30:00.000000000 +0100 -@@ -0,0 +1,125 @@ +@@ -0,0 +1,134 @@ +/************************************************************************** + * + * BRIEF MODULE DESCRIPTION @@ -905,7 +905,16 @@ diff -Nur linux-2.6.16/arch/mips/aruba/setup.c linux-2.6.16-owrt/arch/mips/aruba + +const char *get_system_type(void) +{ -+ return "MIPS IDT32434 - ARUBA"; ++ switch (mips_machtype) { ++ case MACH_ARUBA_AP70: ++ return "Aruba AP70"; ++ case MACH_ARUBA_AP65: ++ return "Aruba AP65"; ++ case MACH_ARUBA_AP60: ++ return "Aruba AP60/AP61"; ++ default: ++ return "Aruba UNKNOWN"; ++ } +} + +EXPORT_SYMBOL(get_system_type); |