ar71xx: add user-space support for OpenMesh MR900v2
authorJohn Crispin <john@openwrt.org>
Fri, 14 Nov 2014 16:55:04 +0000 (16:55 +0000)
committerJohn Crispin <john@openwrt.org>
Fri, 14 Nov 2014 16:55:04 +0000 (16:55 +0000)
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 43266

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

index 3c001a0d0cf02486ea71edc30cb87487b5d146de..2bb3304f3259b325f85fa1c7a6ca75430028078e 100755 (executable)
@@ -103,7 +103,8 @@ get_status_led() {
        mr600v2)
                status_led="mr600:blue:power"
                ;;
-       mr900)
+       mr900 | \
+       mr900v2)
                status_led="mr900:blue:power"
                ;;
        mynet-n600 | \
index 9685ff076a94894dc040ae0d72d244d77a4c065f..7255970622ae3a25dc0a61537a777b8cafc70079 100755 (executable)
@@ -152,7 +152,8 @@ mr600)
        ucidef_set_led_wlan "wlan58" "WLAN58" "mr600:green:wlan58" "phy0tpt"
        ;;
 
-mr900)
+mr900 | \
+mr900v2)
        ucidef_set_led_netdev "lan" "LAN" "mr900:blue:wan" "eth0"
        ucidef_set_led_wlan "wlan24" "WLAN24" "mr900:blue:wlan24" "phy0tpt"
        ucidef_set_led_wlan "wlan58" "WLAN58" "mr900:blue:wlan58" "phy1tpt"
index dfe7161205dfd1f5fb31a5ce0761bdac6c389682..a269c1f330d74c371bcd95c347e7ee586e3d18c9 100755 (executable)
@@ -292,6 +292,7 @@ loco-m-xw |\
 mr600 |\
 mr600v2 |\
 mr900 |\
+mr900v2 |\
 rb-411 |\
 rb-911g-2hpnd |\
 rb-911g-5hpnd |\
index 7aca600d19c2f36db8779b4eae37b0739650f871..0f226185221c7588dd0f58ac1ec11a94099e98b8 100755 (executable)
@@ -395,6 +395,9 @@ ar71xx_board_detect() {
        *MR900)
                name="mr900"
                ;;
+       *MR900v2)
+               name="mr900v2"
+               ;;
        *"My Net N600")
                name="mynet-n600"
                ;;