aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/include
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-12-02 21:17:31 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-12-02 21:17:31 +0000
commit962170b7485f69bf9a3b62c8b5d2ac0a29da667e (patch)
treee2a2952cc34d68d484f55314a2903e57dfd88849 /target/linux/ar71xx/files/include
parent33c19a498a8f9f79b4a3c5519e442d313963de5c (diff)
downloadupstream-962170b7485f69bf9a3b62c8b5d2ac0a29da667e.tar.gz
upstream-962170b7485f69bf9a3b62c8b5d2ac0a29da667e.tar.bz2
upstream-962170b7485f69bf9a3b62c8b5d2ac0a29da667e.zip
update mips_machine stuff
SVN-Revision: 13488
Diffstat (limited to 'target/linux/ar71xx/files/include')
-rw-r--r--target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/ar71xx.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/ar71xx.h b/target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/ar71xx.h
index e9a69cd56b..78cf1ca244 100644
--- a/target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/ar71xx.h
+++ b/target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/ar71xx.h
@@ -103,6 +103,17 @@ enum ar71xx_soc_type {
extern enum ar71xx_soc_type ar71xx_soc;
+extern unsigned long ar71xx_mach_type;
+
+#define AR71XX_MACH_GENERIC 0
+#define AR71XX_MACH_WP543 1 /* Compex WP543 */
+#define AR71XX_MACH_RB_411 2 /* MikroTik RouterBOARD 411/411A/411AH */
+#define AR71XX_MACH_RB_433 3 /* MikroTik RouterBOARD 433/433AH */
+#define AR71XX_MACH_RB_450 4 /* MikroTik RouterBOARD 450 */
+#define AR71XX_MACH_RB_493 5 /* Mikrotik RouterBOARD 493/493AH */
+#define AR71XX_MACH_AW_NR580 6 /* AzureWave AW-NR580 */
+#define AR71XX_MACH_AP83 7 /* Atheros AP83 */
+
/*
* PLL block
*/