aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-11-18 18:10:33 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-11-18 18:10:33 +0000
commit0c687044b252a73f5441af79de8a743b8f8070dc (patch)
tree7cee1e277556a70905e7acf62c56377163ffbf9b /target
parentdd324a32ade2814dc0bf1d0edc3c989a77d3084f (diff)
downloadupstream-0c687044b252a73f5441af79de8a743b8f8070dc.tar.gz
upstream-0c687044b252a73f5441af79de8a743b8f8070dc.tar.bz2
upstream-0c687044b252a73f5441af79de8a743b8f8070dc.zip
ar71xx: use a separate board id for rocket m
SVN-Revision: 18450
Diffstat (limited to 'target')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c3
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/prom.c7
-rw-r--r--target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h5
3 files changed, 10 insertions, 5 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c
index 40490bb5da..0653c2f037 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c
@@ -308,7 +308,8 @@ static void __init ubnt_m_setup(void)
ubnt_m_gpio_buttons);
}
-MIPS_MACHINE(AR71XX_MACH_UBNT_M, "Ubiquiti Bullet/Rocket M", ubnt_m_setup);
+MIPS_MACHINE(AR71XX_MACH_UBNT_BULLET_M, "Ubiquiti Bullet M", ubnt_m_setup);
+MIPS_MACHINE(AR71XX_MACH_UBNT_ROCKET_M, "Ubiquiti Rocket M", ubnt_m_setup);
/* TODO detect the second ethernet port and use one
init function for all Ubiquiti MIMO series products */
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/prom.c b/target/linux/ar71xx/files/arch/mips/ar71xx/prom.c
index 9b67472105..4cc97632a3 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/prom.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/prom.c
@@ -83,8 +83,11 @@ static struct board_rec boards[] __initdata = {
.name = "UBNT-LSX",
.mach_type = AR71XX_MACH_UBNT_LSX,
}, {
- .name = "UBNT-M",
- .mach_type = AR71XX_MACH_UBNT_M,
+ .name = "UBNT-BM",
+ .mach_type = AR71XX_MACH_UBNT_BULLET_M,
+ }, {
+ .name = "UBNT-RM",
+ .mach_type = AR71XX_MACH_UBNT_ROCKET_M,
}, {
.name = "UBNT-NM",
.mach_type = AR71XX_MACH_UBNT_NANO_M,
diff --git a/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h b/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h
index 8584562e96..a9f288b27d 100644
--- a/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h
+++ b/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h
@@ -140,8 +140,9 @@ enum ar71xx_mach_type {
AR71XX_MACH_UBNT_LSX, /* Ubiquiti LSX */
AR71XX_MACH_UBNT_RS, /* Ubiquiti RouterStation */
AR71XX_MACH_UBNT_RSPRO, /* Ubiquiti RouterStation Pro */
- AR71XX_MACH_UBNT_M, /* Ubiquiti Bullet M */
- AR71XX_MACH_UBNT_NANO_M, /* Ubiquiti Bullet M */
+ AR71XX_MACH_UBNT_BULLET_M, /* Ubiquiti Bullet M */
+ AR71XX_MACH_UBNT_ROCKET_M, /* Ubiquiti Rocket M */
+ AR71XX_MACH_UBNT_NANO_M, /* Ubiquiti NanoStation M */
AR71XX_MACH_WNR2000, /* NETGEAR WNR2000 */
AR71XX_MACH_WNDR3700, /* NETGEAR WNDR3700 */
AR71XX_MACH_WP543, /* Compex WP543 */