summaryrefslogtreecommitdiff
path: root/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/machine.h
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-08-31 18:53:34 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-08-31 18:53:34 +0000
commitbe7ba8de2fdef858152092df620fd82981659d50 (patch)
tree2971914b5bc003f8c4c869f601dfa41806714fb9 /target/linux/ramips/files/arch/mips/include/asm/mach-ralink/machine.h
parent789ea10d57657ce479bbdf3d0e2dd9264510faaa (diff)
[ramips] share machine registration code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17456 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/files/arch/mips/include/asm/mach-ralink/machine.h')
-rw-r--r--target/linux/ramips/files/arch/mips/include/asm/mach-ralink/machine.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/machine.h b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/machine.h
new file mode 100644
index 0000000000..267d9f3c62
--- /dev/null
+++ b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/machine.h
@@ -0,0 +1,16 @@
+/*
+ * Ralink machine types
+ *
+ * Copyright (C) 2009 Gabor Juhos <juhosg@openwrt.org>
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 as published
+ * by the Free Software Foundation.
+ */
+
+enum ramips_mach_type {
+ RAMIPS_MACH_GENERIC,
+ RAMIPS_MACH_WHR_G300N, /* Buffalo WHR-G300N */
+};
+
+extern enum ramips_mach_type ramips_mach;