Add updated support for buffalo routers (#1874)
authorFlorian Fainelli <florian@openwrt.org>
Tue, 12 Jun 2007 11:31:27 +0000 (11:31 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Tue, 12 Jun 2007 11:31:27 +0000 (11:31 +0000)
SVN-Revision: 7585

package/broadcom-diag/src/diag.c

index 7866b9f..401adbf 100644 (file)
@@ -305,6 +305,7 @@ static struct platform_t __initdata platforms[] = {
                        { .name = "internal",   .gpio = 1 << 3, .polarity = REVERSE },
                        { .name = "ses",        .gpio = 1 << 6, .polarity = REVERSE },
                        { .name = "bridge",     .gpio = 1 << 1, .polarity = REVERSE },
+                       { .name = "wlan",       .gpio = 1 << 2, .polarity = REVERSE },
                },
        },
        [WBR2_G54] = {
@@ -326,8 +327,10 @@ static struct platform_t __initdata platforms[] = {
                },
                .leds           = {
                        { .name = "diag",       .gpio = 1 << 7, .polarity = REVERSE },
+                       { .name = "internal",   .gpio = 1 << 3, .polarity = REVERSE },
                        { .name = "bridge",     .gpio = 1 << 1, .polarity = REVERSE },
                        { .name = "ses",        .gpio = 1 << 6, .polarity = REVERSE },
+                       { .name = "wlan",       .gpio = 1 << 2, .polarity = REVERSE },
                },
        },
        [WHR2_A54G54] = {