ar71xx: add user-space support for OpenMesh OM2P-HSv2
authorJohn Crispin <john@openwrt.org>
Mon, 2 Jun 2014 13:21:31 +0000 (13:21 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 2 Jun 2014 13:21:31 +0000 (13:21 +0000)
Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 40962

target/linux/ar71xx/base-files/etc/diag.sh
target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
target/linux/ar71xx/base-files/lib/ar71xx.sh

index 616c8cc98f5faa11275ec1329ca7eefe38545378..33ffee7bf5521578630665b5c5d840169aeffd30 100755 (executable)
@@ -100,6 +100,7 @@ get_status_led() {
        om2p | \
        om2pv2 | \
        om2p-hs | \
+       om2p-hsv2 | \
        om2p-lc)
                status_led="om2p:blue:power"
                ;;
index aac13c4e8eeaa9f52793340643a2dda70a5e8794..4338a49c80f98dfad2a33ad69277cda69ac17550 100755 (executable)
@@ -153,6 +153,7 @@ nbg6716)
 om2p | \
 om2pv2 | \
 om2p-hs | \
+om2p-hsv2 | \
 om2p-lc)
        ucidef_set_led_netdev "port1" "port1" "om2p:blue:wan" "eth0"
        ucidef_set_led_netdev "port2" "port2" "om2p:blue:lan" "eth1"
index fa114139a58b63f5402d38ed5f0f02fbd12f4e4c..a136f4ae63b1fd1a3bbba959245b447c31287557 100755 (executable)
@@ -364,6 +364,9 @@ ar71xx_board_detect() {
        *"OM2P HS")
                name="om2p-hs"
                ;;
+       *"OM2P HSv2")
+               name="om2p-hsv2"
+               ;;
        *"OM2P LC")
                name="om2p-lc"
                ;;