projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: add support for Afoundry EW-1200
[openwrt/openwrt.git]
/
target
/
linux
/
ramips
/
base-files
/
etc
/
diag.sh
diff --git
a/target/linux/ramips/base-files/etc/diag.sh
b/target/linux/ramips/base-files/etc/diag.sh
index 67dcf99a00230b4e183325440852f8337a6f29bc..54961371f86caa57384eaaef5201c59a6728ceaa 100644
(file)
--- a/
target/linux/ramips/base-files/etc/diag.sh
+++ b/
target/linux/ramips/base-files/etc/diag.sh
@@
-19,16
+19,21
@@
get_status_led() {
asl26555|\
br-6425|\
br-6475nd|\
asl26555|\
br-6425|\
br-6475nd|\
+ c50|\
dch-m225|\
dir-860l-b1|\
e1700|\
fonera20n|\
dch-m225|\
dir-860l-b1|\
e1700|\
fonera20n|\
+ kn_rc|\
+ kn_rf|\
+ kng_rc|\
mzk-750dhp|\
mzk-dp150n|\
mzk-w300nh2|\
nbg-419n|\
nbg-419n2|\
pwh2004|\
mzk-750dhp|\
mzk-dp150n|\
mzk-w300nh2|\
nbg-419n|\
nbg-419n2|\
pwh2004|\
+ vr500|\
wnce2001|\
wndr3700v5|\
x5|\
wnce2001|\
wndr3700v5|\
x5|\
@@
-48,25
+53,23
@@
get_status_led() {
jhr-n825r|\
mpr-a1|\
mpr-a2|\
jhr-n825r|\
mpr-a1|\
mpr-a2|\
- mzk-ex750np)
+ mzk-ex750np|\
+ wn3000rpv3)
status_led="$board:red:power"
;;
status_led="$board:red:power"
;;
- ai-br100|\
- ht-tm02)
- status_led="$board:blue:wlan"
- ;;
+ ac1200pro|\
all0239-3g|\
dcs-930|\
dir-300-b1|\
dir-300-b7|\
dir-320-b1|\
dir-600-b1|\
all0239-3g|\
dcs-930|\
dir-300-b1|\
dir-300-b7|\
dir-320-b1|\
dir-600-b1|\
- dir-600-b2|\
dir-610-a1|\
dir-615-d|\
dir-615-h1|\
dir-620-a1|\
dir-620-d1|\
dir-610-a1|\
dir-615-d|\
dir-615-h1|\
dir-620-a1|\
dir-620-d1|\
+ dwr-512-b|\
hpm|\
hw550-3g|\
mac1200rv2|\
hpm|\
hw550-3g|\
mac1200rv2|\
@@
-80,7
+83,12
@@
get_status_led() {
zbt-wg3526)
status_led="$board:green:status"
;;
zbt-wg3526)
status_led="$board:green:status"
;;
+ ai-br100|\
+ ht-tm02)
+ status_led="$board:blue:wlan"
+ ;;
atp-52b|\
atp-52b|\
+ ew1200|\
ip2202)
status_led="$board:green:run"
;;
ip2202)
status_led="$board:green:run"
;;
@@
-90,20
+98,18
@@
get_status_led() {
wrh-300cr)
status_led="$board:green:wps"
;;
wrh-300cr)
status_led="$board:green:wps"
;;
- c50)
- status_led="tp-link:blue:power"
- ;;
cf-wr800n|\
psg1208)
status_led="$board:white:wps"
;;
psg1218)
cf-wr800n|\
psg1208)
status_led="$board:white:wps"
;;
psg1218)
- status_led="$board:
blue
:status"
+ status_led="$board:
yellow
:status"
;;
cy-swr1100|\
w502u)
status_led="$board:blue:wps"
;;
;;
cy-swr1100|\
w502u)
status_led="$board:blue:wps"
;;
+ d240|\
dap-1350|\
na930|\
pbr-m1|\
dap-1350|\
na930|\
pbr-m1|\
@@
-124,6
+130,9
@@
get_status_led() {
pbr-d1)
status_led="$board:orange:power"
;;
pbr-d1)
status_led="$board:orange:power"
;;
+ f5d8235-v1)
+ status_led="$board:blue:wired"
+ ;;
f5d8235-v2)
status_led="$board:blue:router"
;;
f5d8235-v2)
status_led="$board:blue:router"
;;
@@
-132,12
+141,16
@@
get_status_led() {
status_led="$board:orange:status"
;;
hc5*61|\
status_led="$board:orange:status"
;;
hc5*61|\
+ hc5661a|\
jhr-n805r|\
jhr-n926r|\
mlw221|\
mlwg2)
status_led="$board:blue:system"
;;
jhr-n805r|\
jhr-n926r|\
mlw221|\
mlwg2)
status_led="$board:blue:system"
;;
+ hc5962)
+ status_led="$board:white:status"
+ ;;
linkits7688| \
linkits7688d)
[ "$1" = "upgrade" ] && status_led="mediatek:orange:wifi"
linkits7688| \
linkits7688d)
[ "$1" = "upgrade" ] && status_led="mediatek:orange:wifi"
@@
-146,23
+159,30
@@
get_status_led() {
status_led="$board:blue:wifi"
;;
m3|\
status_led="$board:blue:wifi"
;;
m3|\
- m4)
+ m4|\
+ miwifi-nano)
status_led="$board:blue:status"
;;
miwifi-mini|\
status_led="$board:blue:status"
;;
miwifi-mini|\
- miwifi-nano|\
zte-q7)
status_led="$board:red:status"
;;
mr-102n)
status_led="$board:amber:status"
;;
zte-q7)
status_led="$board:red:status"
;;
mr-102n)
status_led="$board:amber:status"
;;
+ mr200)
+ status_led="$board:white:power"
+ ;;
nw718)
status_led="$board:amber:cpu"
;;
newifi-d1)
status_led="$board:blue:status"
;;
nw718)
status_led="$board:amber:cpu"
;;
newifi-d1)
status_led="$board:blue:status"
;;
+ omega2| \
+ omega2p)
+ status_led="$board:amber:system"
+ ;;
oy-0001|\
sl-r7205|\
zbt-we826)
oy-0001|\
sl-r7205|\
zbt-we826)
@@
-174,7
+194,6
@@
get_status_led() {
px-4885|\
re6500|\
whr-1166d|\
px-4885|\
re6500|\
whr-1166d|\
- whr-300hp2|\
whr-600d|\
widora-neo)
status_led="$board:orange:wifi"
whr-600d|\
widora-neo)
status_led="$board:orange:wifi"
@@
-189,32
+208,43
@@
get_status_led() {
wr512-3gn)
status_led="$board:green:wps"
;;
wr512-3gn)
status_led="$board:green:wps"
;;
+ rb750gr3)
+ status_led="$board:blue:pwr"
+ ;;
sap-g3200u3)
status_led="$board:green:usb"
;;
v22rw-2x2)
status_led="$board:green:security"
;;
sap-g3200u3)
status_led="$board:green:usb"
;;
v22rw-2x2)
status_led="$board:green:security"
;;
+ vocore2)
+ status_led="$board:fuchsia:status"
+ ;;
w306r-v20|\
witi|\
zbt-wr8305rt)
status_led="$board:green:sys"
;;
w306r-v20|\
witi|\
zbt-wr8305rt)
status_led="$board:green:sys"
;;
+ wcr-1166ds|\
+ whr-300hp2|\
+ wsr-1166|\
+ wsr-600)
+ status_led="$board:green:power"
+ ;;
wcr-150gn|\
wl-351)
status_led="$board:amber:power"
;;
whr-g300n|\
wcr-150gn|\
wl-351)
status_led="$board:amber:power"
;;
whr-g300n|\
+ wlr-6000)
+ status_led="$board:red:power"
+ ;;
wzr-agl300nh)
status_led="$board:green:router"
;;
wizfi630a)
status_led="$board::run"
;;
wzr-agl300nh)
status_led="$board:green:router"
;;
wizfi630a)
status_led="$board::run"
;;
- wsr-1166|\
- wsr-600)
- status_led="$board:green:power"
- ;;
wrtnode2r | \
wrtnode2p | \
wrtnode)
wrtnode2r | \
wrtnode2p | \
wrtnode)