ramips: add support for GL-inet GL-MT300N-V2
[openwrt/openwrt.git] / target / linux / ramips / base-files / etc / diag.sh
index 3dbf87ac5d4af12045db2c5aee3890a9e52b0d61..26d7f627cd2fa68879107a33bf7df5a02b946c15 100644 (file)
@@ -16,7 +16,6 @@ get_status_led() {
        3g-6200n|\
        ar670w|\
        ar725w|\
-       asl26555|\
        br-6425|\
        br-6475nd|\
        c50|\
@@ -25,6 +24,7 @@ get_status_led() {
        e1700|\
        ex3700|\
        fonera20n|\
+       kn|\
        kn_rc|\
        kn_rf|\
        kng_rc|\
@@ -59,7 +59,10 @@ get_status_led() {
        wn3000rpv3)
                status_led="$board:red:power"
                ;;
-       ac1200pro|\
+       ai-br100|\
+       ht-tm02)
+               status_led="$board:blue:wlan"
+               ;;
        all0239-3g|\
        dcs-930|\
        dir-300-b1|\
@@ -79,15 +82,13 @@ get_status_led() {
        mofi3500-3gn|\
        rut5xx|\
        v11st-fe|\
-       vocore|\
        wmr-300|\
-       zbt-wg2626|\
-       zbt-wg3526)
+       zbt-wg2626)
                status_led="$board:green:status"
                ;;
-       ai-br100|\
-       ht-tm02)
-               status_led="$board:blue:wlan"
+       asl26555-8M|\
+       asl26555-16M)
+               status_led="asl26555:green:power"
                ;;
        atp-52b|\
        ew1200|\
@@ -104,7 +105,8 @@ get_status_led() {
        psg1208)
                status_led="$board:white:wps"
                ;;
-       psg1218)
+       psg1218a|\
+       psg1218b)
                status_led="$board:yellow:status"
                ;;
        cy-swr1100|\
@@ -115,6 +117,7 @@ get_status_led() {
        dap-1350|\
        na930|\
        pbr-m1|\
+       rt-ac51u|\
        rt-n13u|\
        rt-n14u|\
        rt-n15|\
@@ -122,7 +125,6 @@ get_status_led() {
        wl-330n|\
        wl-330n3g|\
        wli-tx4-ag300n|\
-       wt3020|\
        y1|\
        y1s)
                status_led="$board:blue:power"
@@ -161,10 +163,16 @@ get_status_led() {
                status_led="$board:blue:wifi"
                ;;
        m3|\
-       m4|\
        miwifi-nano)
                status_led="$board:blue:status"
                ;;
+       gl-mt300n-v2)
+               status_led="$board:red:wlan"
+               ;;
+       m4-4M|\
+       m4-8M)
+               status_led="m4:blue:status"
+               ;;
        miwifi-mini|\
        zte-q7)
                status_led="$board:red:status"
@@ -186,14 +194,16 @@ get_status_led() {
                status_led="$board:amber:system"
                ;;
        oy-0001|\
-       sl-r7205|\
-       zbt-we826)
+       sl-r7205)
                status_led="$board:green:wifi"
                ;;
        psr-680w)
                status_led="$board:red:wan"
                ;;
-       px-4885|\
+       px-4885-4M|\
+       px-4885-8M)
+               status_led="px-4885:orange:wifi"
+               ;;
        re6500|\
        whr-1166d|\
        whr-600d|\
@@ -206,8 +216,7 @@ get_status_led() {
        tew-692gr|\
        ur-326n4g|\
        ur-336un|\
-       wf-2881|\
-       wr512-3gn)
+       wf-2881)
                status_led="$board:green:wps"
                ;;
        rb750gr3)
@@ -219,6 +228,10 @@ get_status_led() {
        v22rw-2x2)
                status_led="$board:green:security"
                ;;
+       vocore-8M|\
+       vocore-16M)
+               status_led="vocore:green:status"
+               ;;
        vocore2)
                status_led="$board:fuchsia:status"
                ;;
@@ -248,14 +261,30 @@ get_status_led() {
        wizfi630a)
                status_led="$board::run"
                ;;
+       wr512-3gn-4M|\
+       wr512-3gn-8M)
+               status_led="wr512-3gn:green:wps"
+               ;;
        wrtnode2r | \
        wrtnode2p | \
        wrtnode)
                status_led="wrtnode:blue:indicator"
                ;;
+       wt3020-4M|\
+       wt3020-8M)
+               status_led="wt3020:blue:power"
+               ;;
        zbt-cpe102)
                status_led="$board:green:4g-0"
                ;;
+       zbt-we826-16M|\
+       zbt-we826-32M)
+               status_led="zbt-we826:green:power"
+               ;;
+       zbt-wg3526-16M|\
+       zbt-wg3526-32M)
+               status_led="zbt-wg3526:green:status"
+               ;;
        esac
 }