aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-09-13 01:35:39 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-09-13 01:35:39 +0000
commit792c70a897f21e2b4013b1ef79d9107423e1103d (patch)
treef457928748abb47f411fd815e778093694fd1ec2 /package
parentac67ef7d12425e9734b1959464d5822f998cc76e (diff)
downloadupstream-792c70a897f21e2b4013b1ef79d9107423e1103d.tar.gz
upstream-792c70a897f21e2b4013b1ef79d9107423e1103d.tar.bz2
upstream-792c70a897f21e2b4013b1ef79d9107423e1103d.zip
[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
Diffstat (limited to 'package')
-rw-r--r--package/broadcom-diag/Makefile2
-rw-r--r--package/broadcom-diag/src/diag.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/package/broadcom-diag/Makefile b/package/broadcom-diag/Makefile
index b4b91dba3d..61b35290fc 100644
--- a/package/broadcom-diag/Makefile
+++ b/package/broadcom-diag/Makefile
@@ -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
diff --git a/package/broadcom-diag/src/diag.c b/package/broadcom-diag/src/diag.c
index 766a906da0..501b835f47 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