aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2006-06-15 22:17:32 +0000
committerImre Kaloz <kaloz@openwrt.org>2006-06-15 22:17:32 +0000
commitc40693e00d85a4ce40e5631247f0716f123ca5b1 (patch)
tree3a350cabde26069ac35dc5d7c0535b09f6d78bd7 /target
parent0daa6897fc2b5d6bca5fd3ecc6486ffaed20d458 (diff)
downloadupstream-c40693e00d85a4ce40e5631247f0716f123ca5b1.tar.gz
upstream-c40693e00d85a4ce40e5631247f0716f123ca5b1.tar.bz2
upstream-c40693e00d85a4ce40e5631247f0716f123ca5b1.zip
return the correct system type for Aruba
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3958 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/aruba-2.6/patches/000-aruba.patch13
1 files changed, 11 insertions, 2 deletions
diff --git a/target/linux/aruba-2.6/patches/000-aruba.patch b/target/linux/aruba-2.6/patches/000-aruba.patch
index ee02c34722..4263f8e3e9 100644
--- a/target/linux/aruba-2.6/patches/000-aruba.patch
+++ b/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);