update whr-hp-g54 diag support
authorFelix Fietkau <nbd@openwrt.org>
Wed, 1 Nov 2006 04:30:33 +0000 (04:30 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 1 Nov 2006 04:30:33 +0000 (04:30 +0000)
SVN-Revision: 5371

openwrt/target/linux/package/diag/src/diag.c

index 0f1f44baf2c183d4a7890d4faf5cdd3689ab241a..5c8d0700450c227c0f4ba2903b15eea86825f91f 100644 (file)
@@ -284,14 +284,14 @@ static struct platform_t __init platforms[] = {
        },
        [WHR_HP_G54] = {
                .name           = "Buffalo WHR-HP-G54",
-               /* FIXME: verify */
                .buttons        = {
                        { .name = "reset",      .gpio = 1 << 4 },
+                       { .name = "bridge",     .gpio = 1 << 5 },
                        { .name = "ses",        .gpio = 1 << 0 },
                },
                .leds           = {
-                       { .name = "diag",       .gpio = 1 << 1, .polarity = REVERSE },
-                       { .name = "internal",   .gpio = 1 << 3, .polarity = REVERSE },
+                       { .name = "diag",       .gpio = 1 << 7, .polarity = REVERSE },
+                       { .name = "bridge",     .gpio = 1 << 1, .polarity = REVERSE },
                        { .name = "ses",        .gpio = 1 << 6, .polarity = REVERSE },
                },
        },