ar71xx: add user-space support for the OpenMesh OM2P-HSv3
authorSven Eckelmann <sven.eckelmann@open-mesh.com>
Fri, 20 May 2016 15:53:08 +0000 (17:53 +0200)
committerFelix Fietkau <nbd@nbd.name>
Mon, 23 May 2016 10:19:23 +0000 (12:19 +0200)
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
target/linux/ar71xx/base-files/etc/board.d/01_leds
target/linux/ar71xx/base-files/etc/diag.sh
target/linux/ar71xx/base-files/lib/ar71xx.sh

index f6ea9a8..9ac2057 100755 (executable)
@@ -383,6 +383,7 @@ om2p | \
 om2pv2 | \
 om2p-hs | \
 om2p-hsv2 | \
+om2p-hsv3 | \
 om2p-lc)
        ucidef_set_led_netdev "port1" "port1" "om2p:blue:wan" "eth0"
        ucidef_set_led_netdev "port2" "port2" "om2p:blue:lan" "eth1"
index 5e6d305..10e6eae 100644 (file)
@@ -207,6 +207,7 @@ get_status_led() {
        om2pv2 | \
        om2p-hs | \
        om2p-hsv2 | \
+       om2p-hsv3 | \
        om2p-lc)
                status_led="om2p:blue:power"
                ;;
index eb87dd4..5b5c805 100755 (executable)
@@ -640,6 +640,9 @@ ar71xx_board_detect() {
        *"OM2P HSv2")
                name="om2p-hsv2"
                ;;
+       *"OM2P HSv3")
+               name="om2p-hsv3"
+               ;;
        *"OM2P LC")
                name="om2p-lc"
                ;;