From 64936c734df0bbcfd48be60433b541370194e418 Mon Sep 17 00:00:00 2001 From: jow Date: Mon, 13 Sep 2010 01:35:39 +0000 Subject: [package] broadcom-diag: SimpleShare: expose power button as reset to the system, remove actual reset button - it's hardwired and will reset the SoC (#7928) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23043 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/broadcom-diag/src/diag.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'package/broadcom-diag/src') diff --git a/package/broadcom-diag/src/diag.c b/package/broadcom-diag/src/diag.c index 766a906da..501b835f4 100644 --- a/package/broadcom-diag/src/diag.c +++ b/package/broadcom-diag/src/diag.c @@ -782,8 +782,7 @@ static struct platform_t __initdata platforms[] = { [STI_NAS] = { .name = "SimpleTech SimpleShare NAS", .buttons = { - { .name = "reset", .gpio = 1 << 7 }, // on back, hardwired, always resets device regardless OS state - { .name = "power", .gpio = 1 << 0 }, // on back + { .name = "reset", .gpio = 1 << 0 }, // Power button on back, named reset to enable failsafe. }, .leds = { { .name = "diag", .gpio = 1 << 1, .polarity = REVERSE }, // actual name ready -- cgit v1.2.3