aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-02-09 12:16:43 +0000
committerJohn Crispin <blogic@openwrt.org>2015-02-09 12:16:43 +0000
commit8cf4e3ee965c6f829cad2a8d7563fd8705b2c31d (patch)
treedbb0e816390f4a1739eadada1a173a63e8d0c8dc
parent969192c4839afb922a82b2894d442af558916ae5 (diff)
downloadupstream-8cf4e3ee965c6f829cad2a8d7563fd8705b2c31d.tar.gz
upstream-8cf4e3ee965c6f829cad2a8d7563fd8705b2c31d.tar.bz2
upstream-8cf4e3ee965c6f829cad2a8d7563fd8705b2c31d.zip
ar71xx: fix nbg6716 power and usb led
Signed-off-by: John Crispin <blogic@openwrt.org> Signed-off-by: Marcin Mikolajczak <gr4ffy@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44358 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/ar71xx/base-files/etc/diag.sh2
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-nbg6716.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 03ca8640e7..c435af19cc 100644
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -130,7 +130,7 @@ get_status_led() {
status_led="nbg460n:green:power"
;;
nbg6716)
- status_led="nbg6716:white:power"
+ status_led="zyxel:white:power"
;;
om2p | \
om2pv2 | \
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-nbg6716.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-nbg6716.c
index e102f2c8af..afde87f9d9 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-nbg6716.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-nbg6716.c
@@ -43,8 +43,8 @@
#define NBG6716_GPIO_LED_INTERNET 18
#define NBG6716_GPIO_LED_POWER 15
-#define NBG6716_GPIO_LED_USB0 4
-#define NBG6716_GPIO_LED_USB1 13
+#define NBG6716_GPIO_LED_USB0 13
+#define NBG6716_GPIO_LED_USB1 4
#define NBG6716_GPIO_LED_WIFI2G 19
#define NBG6716_GPIO_LED_WIFI5G 17
#define NBG6716_GPIO_LED_WPS 21