ar71xx: use a separate board id for rocket m
authorFelix Fietkau <nbd@openwrt.org>
Wed, 18 Nov 2009 18:10:33 +0000 (18:10 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 18 Nov 2009 18:10:33 +0000 (18:10 +0000)
SVN-Revision: 18450

target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c
target/linux/ar71xx/files/arch/mips/ar71xx/prom.c
target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h

index 40490bb5da08b592df87416c15efb184cde02c15..0653c2f03733529abda34543dcf47375736bb69e 100644 (file)
@@ -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 */
index 9b67472105181e1d75625ac27df758b82837f9d6..4cc97632a313eb166f44a6c8a491c7162f415794 100644 (file)
@@ -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,
index 8584562e96cf3859829e546f27413ed5c86c6fa3..a9f288b27d8ccc2ffbe631ceb517810ba67a33d4 100644 (file)
@@ -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 */