projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a41829e
)
ar71xx: use netgear prefix for WNDAP360 LED names
author
Gabor Juhos
<juhosg@openwrt.org>
Sat, 21 Sep 2013 15:55:55 +0000
(15:55 +0000)
committer
Gabor Juhos
<juhosg@openwrt.org>
Sat, 21 Sep 2013 15:55:55 +0000
(15:55 +0000)
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38102
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
target/linux/ar71xx/base-files/etc/diag.sh
patch
|
blob
|
history
target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
patch
|
blob
|
history
target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration
patch
|
blob
|
history
target/linux/ar71xx/files/arch/mips/ath79/mach-wndap360.c
patch
|
blob
|
history
diff --git
a/target/linux/ar71xx/base-files/etc/diag.sh
b/target/linux/ar71xx/base-files/etc/diag.sh
index
14f8c98
..
b609ac2
100755
(executable)
--- a/
target/linux/ar71xx/base-files/etc/diag.sh
+++ b/
target/linux/ar71xx/base-files/etc/diag.sh
@@
-168,7
+168,7
@@
get_status_led() {
status_led="buffalo:red:diag"
;;
wndap360)
- status_led="
wndap360
:green:power"
+ status_led="
netgear
:green:power"
;;
wndr3700)
status_led="netgear:green:power"
diff --git
a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
index
691f699
..
a8bd862
100755
(executable)
--- a/
target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
+++ b/
target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
@@
-225,7
+225,7
@@
wrt160nl)
;;
wndap360)
- ucidef_set_led_power "power" "POWER GREEN" "
wndap360
:green:power" "1"
+ ucidef_set_led_power "power" "POWER GREEN" "
netgear
:green:power" "1"
;;
wndr3700)
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
9806aef
..
0ecf4be
100755
(executable)
--- a/
target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration
+++ b/
target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration
@@
-46,6
+46,10
@@
migrate_leds()
board=$(ar71xx_board_name)
case "$board" in
+wndap360)
+ migrate_leds "wndap360:=netgear:"
+ ;;
+
wndr3700)
migrate_leds "wndr3700:=netgear:"
;;
diff --git
a/target/linux/ar71xx/files/arch/mips/ath79/mach-wndap360.c
b/target/linux/ar71xx/files/arch/mips/ath79/mach-wndap360.c
index
5b4b7b0
..
80b0cf3
100644
(file)
--- a/
target/linux/ar71xx/files/arch/mips/ath79/mach-wndap360.c
+++ b/
target/linux/ar71xx/files/arch/mips/ath79/mach-wndap360.c
@@
-46,11
+46,11
@@
*/
static struct gpio_led wndap360_leds_gpio[] __initdata = {
{
- .name = "
wndap360
:green:power",
+ .name = "
netgear
:green:power",
.gpio = WNDAP360_GPIO_LED_POWER_GREEN,
.active_low = 1,
}, {
- .name = "
wndap360
:orange:power",
+ .name = "
netgear
:orange:power",
.gpio = WNDAP360_GPIO_LED_POWER_ORANGE,
.active_low = 1,
}