aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-09-21 15:55:54 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-09-21 15:55:54 +0000
commita41829e342e1e2fe517bf83811cb251a8acc68aa (patch)
tree48e10b3c7f16492e368ef3605e2da4a808a92b2d /target
parent6e68a61d0ce516db13ed2b84558ce5917c799159 (diff)
downloadmaster-187ad058-a41829e342e1e2fe517bf83811cb251a8acc68aa.tar.gz
master-187ad058-a41829e342e1e2fe517bf83811cb251a8acc68aa.tar.bz2
master-187ad058-a41829e342e1e2fe517bf83811cb251a8acc68aa.zip
ar71xx: use netgear prefix for WNR612 v2 LED names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38101 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh2
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration4
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000-v3.c2
3 files changed, 6 insertions, 2 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index fee2f823fa..14f8c9816a 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -183,7 +183,7 @@ get_status_led() {
status_led="netgear:amber:power"
;;
wnr612-v2)
- status_led="wnr612v2:green:power"
+ status_led="netgear:green:power"
;;
wp543)
status_led="wp543:green:diag"
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration b/target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration
index 3b53f6e031..9806aefeaf 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration
@@ -58,6 +58,10 @@ wnr2200)
migrate_leds "wnr2200:=netgear:"
;;
+wnr612-v2)
+ migrate_leds "wnr612v2:=netgear:"
+ ;;
+
*)
;;
esac
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000-v3.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000-v3.c
index 4669cebdea..6acd991eb6 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000-v3.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000-v3.c
@@ -52,7 +52,7 @@ static struct gpio_led wnr2000v3_leds_gpio[] __initdata = {
static struct gpio_led wnr612v2_leds_gpio[] __initdata = {
{
- .name = "wnr612v2:green:power",
+ .name = "netgear:green:power",
.gpio = WNR612V2_GPIO_LED_PWR_GREEN,
.active_low = 1,
}