summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorThibaut VARENE <hacks@slashdirt.org>2017-02-07 15:23:30 +0100
committerFelix Fietkau <nbd@nbd.name>2017-02-15 11:28:57 +0100
commitb18bae37a4f26949f71f1345caa2b6934f6a4663 (patch)
tree28f5d53de0e6cf7dded1d8dd8dfef1359b399a7f /target/linux/ar71xx/base-files/etc
parentc59fa94eeecf16c79254ab4bc78f5b31c7387039 (diff)
downloadopenwrt-b18bae37a4f26949f71f1345caa2b6934f6a4663.tar.gz
openwrt-b18bae37a4f26949f71f1345caa2b6934f6a4663.tar.bz2
openwrt-b18bae37a4f26949f71f1345caa2b6934f6a4663.zip
ar71xx: provide support for RB-941-2nD via mach-rbspi.c
This patch implements support for the hAP lite in mach-rbspi.c hAP lite was supported via mach-rb941.c, so this file is removed as well as the corresponding build bits. Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/01_leds2
-rw-r--r--target/linux/ar71xx/base-files/etc/diag.sh3
2 files changed, 3 insertions, 2 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/01_leds b/target/linux/ar71xx/base-files/etc/board.d/01_leds
index 5aa49c98f5..1d692fff3a 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/01_leds
+++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds
@@ -223,7 +223,7 @@ rb-750)
ucidef_set_led_switch "port5" "port5" "rb750:green:port5" "switch0" "0x02"
;;
rb-941-2nd)
- ucidef_set_led_timer "act" "act" "rb:green:act" "1000" "1000"
+ ucidef_set_led_timer "user" "USR/ACT" "rb:green:user" "1000" "1000"
;;
rb-2011l|\
rb-2011uas|\
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index f9d394ba34..527e8b749e 100644
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -298,10 +298,11 @@ get_status_led() {
rb-911g-5hpnd|\
rb-912uag-2hpnd|\
rb-912uag-5hpnd|\
+ rb-941-2nd|\
rb-mapl-2nd)
status_led="rb:green:user"
;;
- rb-951ui-2hnd | rb-941-2nd)
+ rb-951ui-2hnd)
status_led="rb:green:act"
;;
rb-sxt2n|\