Author: blogic
Date: 2016-04-09 12:25:51 +0200 (Sat, 09 Apr 2016)
New Revision: 49142

Modified:
   trunk/target/linux/ar71xx/base-files/etc/board.d/01_leds
   trunk/target/linux/ar71xx/base-files/etc/diag.sh
   trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh
Log:
ar71xx: add user-space support for the OpenMesh OM5P-AC

Signed-off-by: Sven Eckelmann <[email protected]>

Modified: trunk/target/linux/ar71xx/base-files/etc/board.d/01_leds
===================================================================
--- trunk/target/linux/ar71xx/base-files/etc/board.d/01_leds    2016-04-09 
10:25:47 UTC (rev 49141)
+++ trunk/target/linux/ar71xx/base-files/etc/board.d/01_leds    2016-04-09 
10:25:51 UTC (rev 49142)
@@ -394,6 +394,11 @@
        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"

Modified: trunk/target/linux/ar71xx/base-files/etc/diag.sh
===================================================================
--- trunk/target/linux/ar71xx/base-files/etc/diag.sh    2016-04-09 10:25:47 UTC 
(rev 49141)
+++ trunk/target/linux/ar71xx/base-files/etc/diag.sh    2016-04-09 10:25:51 UTC 
(rev 49142)
@@ -214,6 +214,9 @@
        om5p-an)
                status_led="om5p:blue:power"
                ;;
+       om5p-ac)
+               status_led="om5pac:blue:power"
+               ;;
        omy-x1)
                status_led="omy:green:power"
                ;;

Modified: trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh
===================================================================
--- trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh  2016-04-09 10:25:47 UTC 
(rev 49141)
+++ trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh  2016-04-09 10:25:51 UTC 
(rev 49142)
@@ -646,6 +646,9 @@
        *"OM5P AN")
                name="om5p-an"
                ;;
+       *"OM5P AC")
+               name="om5p-ac"
+               ;;
        *"OMY-X1")
                name="omy-x1"
                ;;
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to