ar71xx: add support for RB951Ui-2nD
[openwrt/openwrt.git] / target / linux / ar71xx / base-files / etc / diag.sh
index 871a12b9bdea82a2cf7f4d402c318c0c243e43a4..5f52389c8b66b5c06701e2f1600f049d368707e6 100644 (file)
@@ -8,6 +8,9 @@ get_status_led() {
        local board=$(ar71xx_board_name)
 
        case $board in
+       a40)
+               status_led="a40:green:status"
+               ;;
        a60)
                status_led="a60:green:status"
                ;;
@@ -294,10 +297,13 @@ get_status_led() {
        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 | rb-941-2nd)
+       rb-951ui-2hnd)
                status_led="rb:green:act"
                ;;
        rb-sxt2n|\
@@ -338,7 +344,8 @@ get_status_led() {
        tl-wa750re)
                status_led="tp-link:orange:re"
                ;;
-       tl-wa850re)
+       tl-wa850re|\
+       tl-wa850re-v2)
                status_led="tp-link:blue:re"
                ;;
        tl-wa860re)