broadcom-diag: SimpleShare: expose power button as reset to the system, remove actual...
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 13 Sep 2010 01:35:39 +0000 (01:35 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 13 Sep 2010 01:35:39 +0000 (01:35 +0000)
SVN-Revision: 23043

package/broadcom-diag/Makefile
package/broadcom-diag/src/diag.c

index b4b91dba3d76c78522b99fd20f286739207fdd02..61b35290fc72ca83bd5fff6bc02e23bfe418b080 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=broadcom-diag
-PKG_RELEASE:=9
+PKG_RELEASE:=10
 
 include $(INCLUDE_DIR)/package.mk
 
index 766a906da055c66c4ce423a65ff31eb32889d7b8..501b835f477ceb066d06f6e3ecf83848edbe6629 100644 (file)
@@ -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