ar71xx: add user-space support for the OpenMesh OM5P-AC
authorJohn Crispin <john@openwrt.org>
Sat, 9 Apr 2016 10:25:51 +0000 (10:25 +0000)
committerJohn Crispin <john@openwrt.org>
Sat, 9 Apr 2016 10:25:51 +0000 (10:25 +0000)
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
SVN-Revision: 49142

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 708ebb96415e9f1ec1450f70f38b7e04f3e0caa1..ab19a61f75de207d4c461078e9cb352ec243fca5 100755 (executable)
@@ -394,6 +394,11 @@ om5p-an)
        ucidef_set_led_netdev "port2" "port2" "om5p:blue:lan" "eth1"
        ;;
 
+om5p-ac)
+       ucidef_set_led_netdev "port1" "port1" "om5pac:blue:lan" "eth0"
+       ucidef_set_led_netdev "port2" "port2" "om5pac:blue:wan" "eth1"
+       ;;
+
 omy-x1)
        ucidef_set_led_default "power" "POWER" "omy:green:power" "1"
        ucidef_set_led_default "wan" "WAN" "omy:green:wan" "eth0"
index a2251d1c150f590e6f57df0e568f543bd735738c..da976bd0bcaa8bed165a05f65c86aab875fb781d 100644 (file)
@@ -214,6 +214,9 @@ get_status_led() {
        om5p-an)
                status_led="om5p:blue:power"
                ;;
+       om5p-ac)
+               status_led="om5pac:blue:power"
+               ;;
        omy-x1)
                status_led="omy:green:power"
                ;;
index 6b8550acacfba42b07cb6c0de9aed02a34ed51e2..ded9e7e33a9c3d69eb231b5deef4a9d97a4d7b7e 100755 (executable)
@@ -646,6 +646,9 @@ ar71xx_board_detect() {
        *"OM5P AN")
                name="om5p-an"
                ;;
+       *"OM5P AC")
+               name="om5p-ac"
+               ;;
        *"OMY-X1")
                name="omy-x1"
                ;;