Add updated support for buffalo routers (#1874)
[openwrt/svn-archive/archive.git] / package / broadcom-diag / src / diag.c
index 7866b9f798648aadc6f6689611e3253eb14fe8c5..401adbfd85d533ff9a24622adbac55bc14fc1c66 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] = {