projects
/
openwrt
/
staging
/
yousong.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ar71xx: add support for RB750UPr2
[openwrt/staging/yousong.git]
/
target
/
linux
/
ar71xx
/
base-files
/
etc
/
diag.sh
diff --git
a/target/linux/ar71xx/base-files/etc/diag.sh
b/target/linux/ar71xx/base-files/etc/diag.sh
index d9d8a2953e364832f9aca45c00f4d631b0df08e2..3a75e1080c8942c1fdbdc6c4e39ef0d51f69596d 100644
(file)
--- a/
target/linux/ar71xx/base-files/etc/diag.sh
+++ b/
target/linux/ar71xx/base-files/etc/diag.sh
@@
-8,6
+8,12
@@
get_status_led() {
local board=$(ar71xx_board_name)
case $board in
local board=$(ar71xx_board_name)
case $board in
+ a40)
+ status_led="a40:green:status"
+ ;;
+ a60)
+ status_led="a60:green:status"
+ ;;
alfa-nx)
status_led="alfa:green:led_8"
;;
alfa-nx)
status_led="alfa:green:led_8"
;;
@@
-41,9
+47,13
@@
get_status_led() {
ap135-020)
status_led="ap135:green:status"
;;
ap135-020)
status_led="ap135:green:status"
;;
+ archer-c59-v1|\
+ archer-c60-v1|\
mr12|\
mr16|\
nbg6616|\
mr12|\
mr16|\
nbg6616|\
+ sc1750|\
+ sc450|\
tl-wpa8630)
status_led="$board:green:power"
;;
tl-wpa8630)
status_led="$board:green:power"
;;
@@
-238,9
+248,11
@@
get_status_led() {
;;
om2p|\
om2pv2|\
;;
om2p|\
om2pv2|\
+ om2pv4|\
om2p-hs|\
om2p-hsv2|\
om2p-hsv3|\
om2p-hs|\
om2p-hsv2|\
om2p-hsv3|\
+ om2p-hsv4|\
om2p-lc)
status_led="om2p:blue:power"
;;
om2p-lc)
status_led="om2p:blue:power"
;;
@@
-281,11
+293,15
@@
get_status_led() {
rb-750)
status_led="rb750:green:act"
;;
rb-750)
status_led="rb750:green:act"
;;
+ rb-750up-r2|\
rb-911g-2hpnd|\
rb-911g-5hpacd|\
rb-911g-5hpnd|\
rb-912uag-2hpnd|\
rb-911g-2hpnd|\
rb-911g-5hpacd|\
rb-911g-5hpnd|\
rb-912uag-2hpnd|\
- rb-912uag-5hpnd)
+ rb-912uag-5hpnd|\
+ rb-941-2nd|\
+ rb-951ui-2nd|\
+ rb-mapl-2nd)
status_led="rb:green:user"
;;
rb-951ui-2hnd)
status_led="rb:green:user"
;;
rb-951ui-2hnd)
@@
-295,6
+311,10
@@
get_status_led() {
rb-sxt5n)
status_led="rb:green:power"
;;
rb-sxt5n)
status_led="rb:green:power"
;;
+ re450|\
+ sc300m)
+ status_led="$board:blue:power"
+ ;;
routerstation|\
routerstation-pro)
status_led="ubnt:green:rf"
routerstation|\
routerstation-pro)
status_led="ubnt:green:rf"
@@
-325,7
+345,8
@@
get_status_led() {
tl-wa750re)
status_led="tp-link:orange:re"
;;
tl-wa750re)
status_led="tp-link:orange:re"
;;
- tl-wa850re)
+ tl-wa850re|\
+ tl-wa850re-v2)
status_led="tp-link:blue:re"
;;
tl-wa860re)
status_led="tp-link:blue:re"
;;
tl-wa860re)
@@
-346,6
+367,7
@@
get_status_led() {
tl-wr1041n-v2|\
tl-wr1043nd|\
tl-wr1043nd-v2|\
tl-wr1041n-v2|\
tl-wr1043nd|\
tl-wr1043nd-v2|\
+ tl-wr1043nd-v4|\
tl-wr741nd|\
tl-wr741nd-v4|\
tl-wa801nd-v3|\
tl-wr741nd|\
tl-wr741nd-v4|\
tl-wa801nd-v3|\