diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-09-21 15:55:51 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2013-09-21 15:55:51 +0000 |
commit | 4f4283a96499f5ee7224b58f4233969b43d2bac5 (patch) | |
tree | ed404fe7a4b49601feff9debf0fd8fe2d6c2c044 /target/linux | |
parent | 0dbe07edab1081a299c7ca6475896e91c03958fe (diff) | |
download | master-187ad058-4f4283a96499f5ee7224b58f4233969b43d2bac5.tar.gz master-187ad058-4f4283a96499f5ee7224b58f4233969b43d2bac5.tar.bz2 master-187ad058-4f4283a96499f5ee7224b58f4233969b43d2bac5.zip |
ar71xx: use netgear prefix for WNR2000 LED names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38099 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/diag.sh | 2 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration | 4 | ||||
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000.c | 8 |
3 files changed, 9 insertions, 5 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index c76084d1cd..ff8e7c99fe 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -177,7 +177,7 @@ get_status_led() { status_led="netgear:green:power" ;; wnr2000) - status_led="wnr2000:green:power" + status_led="netgear:green:power" ;; wnr2200) status_led="wnr2200:amber:power" 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 b9d0d65b20..ee64ca2c58 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 @@ -50,6 +50,10 @@ wndr3700) migrate_leds "wndr3700:=netgear:" ;; +wnr2000) + migrate_leds "wnr2000:=netgear:" + ;; + *) ;; esac diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000.c index bd86db386a..b4da7ece32 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000.c @@ -77,19 +77,19 @@ static struct flash_platform_data wnr2000_flash_data = { static struct gpio_led wnr2000_leds_gpio[] __initdata = { { - .name = "wnr2000:green:power", + .name = "netgear:green:power", .gpio = WNR2000_GPIO_LED_PWR_GREEN, .active_low = 1, }, { - .name = "wnr2000:amber:power", + .name = "netgear:amber:power", .gpio = WNR2000_GPIO_LED_PWR_AMBER, .active_low = 1, }, { - .name = "wnr2000:green:wps", + .name = "netgear:green:wps", .gpio = WNR2000_GPIO_LED_WPS, .active_low = 1, }, { - .name = "wnr2000:blue:wlan", + .name = "netgear:blue:wlan", .gpio = WNR2000_GPIO_LED_WLAN, .active_low = 1, } |