ramips: use generic board detection for D-Link DAP-1522 A1
[openwrt/openwrt.git] / target / linux / ramips / base-files / etc / diag.sh
index df9858cb32e84b5f00c2c3bdb44bac77a726773b..04a398c82697e7b98f15494e77e34a19a714d907 100644 (file)
@@ -38,6 +38,8 @@ get_status_led() {
        nbg-419n2|\
        pwh2004|\
        r6220|\
+       tplink,c20-v4|\
+       tplink,c50-v3|\
        tplink,tl-mr3420-v5|\
        tl-wr840n-v4|\
        tl-wr840n-v5|\
@@ -89,6 +91,7 @@ get_status_led() {
        dir-620-d1|\
        dwr-512-b|\
        gb-pc1|\
+       gb-pc2|\
        hpm|\
        hw550-3g|\
        mac1200rv2|\
@@ -144,6 +147,13 @@ get_status_led() {
        youku-yk1)
                status_led="$boardname:blue:power"
                ;;
+       dlink,dap-1522-a1|\
+       k2p|\
+       m3|\
+       mir3g|\
+       miwifi-nano)
+               status_led="$boardname:blue:status"
+               ;;
        db-wrt01|\
        esr-9753|\
        pbr-d1)
@@ -171,11 +181,6 @@ get_status_led() {
        hc5962)
                status_led="$boardname:white:status"
                ;;
-       k2p|\
-       m3|\
-       miwifi-nano)
-               status_led="$boardname:blue:status"
-               ;;
        linkits7688)
                status_led="linkit-smart-7688:orange:wifi"
                ;;
@@ -189,9 +194,6 @@ get_status_led() {
        m4-8M)
                status_led="m4:blue:status"
                ;;
-       mir3g)
-               status_led="$boardname:yellow:status"
-               ;;
        miwifi-mini|\
        zte-q7)
                status_led="$boardname:red:status"
@@ -286,7 +288,8 @@ get_status_led() {
        zbt-we2026)
                status_led="$boardname:red:power"
                ;;
-       widora-neo)
+       widora,neo-16m|\
+       widora,neo-32m)
                status_led="widora:orange:wifi"
                ;;
        wzr-agl300nh)
@@ -315,6 +318,9 @@ get_status_led() {
        zbt-we826-32M)
                status_led="zbt-we826:green:power"
                ;;
+       zbtlink,zbt-we1226)
+               status_led="$boardname:green:wlan"
+               ;;
        zbt-wg3526-16M|\
        zbt-wg3526-32M)
                status_led="zbt-wg3526:green:status"