Add updated support for buffalo routers (#1874)
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 12 Jun 2007 11:31:27 +0000 (11:31 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 12 Jun 2007 11:31:27 +0000 (11:31 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7585 3c298f89-4303-0410-b956-a3cf2f4a3e73

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] = {