浏览代码

ar71xx: fix nbg6716 power and usb led

Signed-off-by: John Crispin <[email protected]>
Signed-off-by: Marcin Mikolajczak <[email protected]>

SVN-Revision: 44358
John Crispin 11 年之前
父节点
当前提交
35d38f21e0

+ 1 - 1
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 | \

+ 2 - 2
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