ramips: add switch port index for I-O DATA WN-GX300GR
[openwrt/openwrt.git] / target / linux / ramips / base-files / etc / diag.sh
index 342a6486872cb0f1d3ccb5e00ea42fdf786663c7..dd7a646a04b1f870aed1570c93129da90efd2424 100644 (file)
@@ -22,11 +22,13 @@ get_status_led() {
        dch-m225|\
        dir-860l-b1|\
        e1700|\
+       elecom,wrc-1167ghbk2-s|\
        ex2700|\
        ex3700|\
        fonera20n|\
        firewrt|\
        hg255d|\
+       iodata,wn-gx300gr|\
        kn|\
        kn_rc|\
        kn_rf|\
@@ -41,6 +43,8 @@ get_status_led() {
        tplink,c20-v4|\
        tplink,c50-v3|\
        tplink,tl-mr3420-v5|\
+       tplink,tl-wr842n-v5|\
+       tplink,tl-wr902ac-v3|\
        tl-wr840n-v4|\
        tl-wr840n-v5|\
        tl-wr841n-v13|\
@@ -75,9 +79,13 @@ get_status_led() {
        awapn2403|\
        dir-645|\
        sk-wb8|\
+       tplink,c2-v1|\
        wrh-300cr)
                status_led="$boardname:green:wps"
                ;;
+       alfa-network,awusfree1)
+               status_led="$boardname:orange:system"
+               ;;
        all0239-3g|\
        dcs-930|\
        dir-300-b1|\
@@ -90,8 +98,9 @@ get_status_led() {
        dir-620-a1|\
        dir-620-d1|\
        dwr-512-b|\
-       gb-pc1|\
-       gb-pc2|\
+       dlink,dwr-116-a1|\
+       gnubee,gb-pc1|\
+       gnubee,gb-pc2|\
        hpm|\
        hw550-3g|\
        mac1200rv2|\
@@ -103,6 +112,9 @@ get_status_led() {
        zbt-wg2626)
                status_led="$boardname:green:status"
                ;;
+       dlink,dwr-921-c1)
+               status_led="$boardname:green:sigstrength"
+               ;;
        asl26555-8M|\
        asl26555-16M)
                status_led="asl26555:green:power"
@@ -124,7 +136,8 @@ get_status_led() {
                status_led="$boardname:yellow:status"
                ;;
        cy-swr1100|\
-       w502u)
+       w502u|\
+       youhua,wr1200js)
                status_led="$boardname:blue:wps"
                ;;
        d240|\
@@ -144,10 +157,12 @@ get_status_led() {
        wli-tx4-ag300n|\
        y1|\
        y1s|\
-       youku-yk1)
+       youku-yk1|\
+       zorlik,zl5900v2)
                status_led="$boardname:blue:power"
                ;;
-       dap-1522-a1|\
+       dlink,dap-1522-a1|\
+       phicomm,k2g|\
        k2p|\
        m3|\
        mir3g|\
@@ -188,12 +203,15 @@ get_status_led() {
                status_led="$boardname:blue:wifi"
                ;;
        gl-mt300n-v2)
-               status_led="$boardname:red:wlan"
+               status_led="$boardname:green:power"
                ;;
        m4-4M|\
        m4-8M)
                status_led="m4:blue:status"
                ;;
+       mikrotik,rbm33g)
+               status_led="rbm33g:green:usr"
+               ;;
        miwifi-mini|\
        zte-q7)
                status_led="$boardname:red:status"
@@ -269,7 +287,8 @@ get_status_led() {
                status_led="$boardname:green:status"
                ;;
        w306r-v20|\
-       witi|\
+       mqmaker,witi-256m|\
+       mqmaker,witi-512m|\
        zbt-wr8305rt)
                status_led="$boardname:green:sys"
                ;;