Author: blogic
Date: 2015-03-17 10:43:31 +0100 (Tue, 17 Mar 2015)
New Revision: 44862

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

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

Modified: trunk/target/linux/ar71xx/base-files/etc/diag.sh
===================================================================
--- trunk/target/linux/ar71xx/base-files/etc/diag.sh    2015-03-17 09:43:19 UTC 
(rev 44861)
+++ trunk/target/linux/ar71xx/base-files/etc/diag.sh    2015-03-17 09:43:31 UTC 
(rev 44862)
@@ -142,7 +142,8 @@
        om2p-lc)
                status_led="om2p:blue:power"
                ;;
-       om5p)
+       om5p | \
+       om5p-an)
                status_led="om5p:blue:power"
                ;;
        pb44)

Modified: trunk/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
===================================================================
--- trunk/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds       
2015-03-17 09:43:19 UTC (rev 44861)
+++ trunk/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds       
2015-03-17 09:43:31 UTC (rev 44862)
@@ -233,7 +233,8 @@
        ucidef_set_led_netdev "port2" "port2" "om2p:blue:lan" "eth1"
        ;;
 
-om5p)
+om5p | \
+om5p-an)
        ucidef_set_led_netdev "port1" "port1" "om5p:blue:wan" "eth0"
        ucidef_set_led_netdev "port2" "port2" "om5p:blue:lan" "eth1"
        ;;

Modified: trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh
===================================================================
--- trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh  2015-03-17 09:43:19 UTC 
(rev 44861)
+++ trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh  2015-03-17 09:43:31 UTC 
(rev 44862)
@@ -512,6 +512,9 @@
        *OM5P)
                name="om5p"
                ;;
+       *"OM5P AN")
+               name="om5p-an"
+               ;;
        *PB42)
                name="pb42"
                ;;
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to