[OpenWrt-Devel] [PATCH v2] ar71xx : Fix the sys LEDs on the EasyLink M150 and mini

L. D. Pinney ldpinney at gmail.com
Mon Aug 25 08:44:00 EDT 2014


From: L. D. Pinney <ldpinney at gmail.com>

Sets the system LED on the EasyLink M150 and mini to lower-case "easylink"

Signed-off-by: L. D. Pinney <ldpinney at gmail.com>

---
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 1864b11..faac4bd 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -70,7 +70,7 @@ get_status_led() {
  		;;
  	el-mini | \
  	el-m150)
-		status_led="EasyLink:green:system"
+		status_led="easylink:green:system"
  		;;
  	gl-inet)
  		status_led="gl-connect:green:lan"
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-el-m150.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-el-m150.c
index 72a396d..b95d6c2 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-el-m150.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-el-m150.c
@@ -44,7 +44,7 @@ static struct flash_platform_data EL_M150_flash_data = {

  static struct gpio_led EL_M150_leds_gpio[] __initdata = {
  	{
-		.name		= "ELINK:green:system",
+		.name		= "easylink:green:system",
  		.gpio		= EL_M150_GPIO_LED_SYSTEM,
  		.active_low	= 1,
  	},
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-el-mini.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-el-mini.c
index aaccb0d..9879b18 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-el-mini.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-el-mini.c
@@ -40,7 +40,7 @@ static struct flash_platform_data mini_flash_data = {

  static struct gpio_led mini_leds_gpio[] __initdata = {
  	{
-		.name		= "ELINK:green:system",
+		.name		= "easylink:green:system",
  		.gpio		= MINI_GPIO_LED_SYSTEM,
  		.active_low	= 1,
  	},
-------------- next part --------------
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 1864b11..faac4bd 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -70,7 +70,7 @@ get_status_led() {
 		;;
 	el-mini | \
 	el-m150)
-		status_led="EasyLink:green:system"
+		status_led="easylink:green:system"
 		;;
 	gl-inet)
 		status_led="gl-connect:green:lan"
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-el-m150.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-el-m150.c
index 72a396d..b95d6c2 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-el-m150.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-el-m150.c
@@ -44,7 +44,7 @@ static struct flash_platform_data EL_M150_flash_data = {
 
 static struct gpio_led EL_M150_leds_gpio[] __initdata = {
 	{
-		.name		= "ELINK:green:system",
+		.name		= "easylink:green:system",
 		.gpio		= EL_M150_GPIO_LED_SYSTEM,
 		.active_low	= 1,
 	},
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-el-mini.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-el-mini.c
index aaccb0d..9879b18 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-el-mini.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-el-mini.c
@@ -40,7 +40,7 @@ static struct flash_platform_data mini_flash_data = {
 
 static struct gpio_led mini_leds_gpio[] __initdata = {
 	{
-		.name		= "ELINK:green:system",
+		.name		= "easylink:green:system",
 		.gpio		= MINI_GPIO_LED_SYSTEM,
 		.active_low	= 1,
 	},
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list