Author: blogic
Date: 2014-07-20 19:30:44 +0200 (Sun, 20 Jul 2014)
New Revision: 41770

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

Signed-off-by: Marek Lindner <[email protected]>
[[email protected]: Rebased]
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    2014-07-20 17:30:32 UTC 
(rev 41769)
+++ trunk/target/linux/ar71xx/base-files/etc/diag.sh    2014-07-20 17:30:44 UTC 
(rev 41770)
@@ -124,6 +124,9 @@
        om2p-lc)
                status_led="om2p:blue:power"
                ;;
+       om5p)
+               status_led="om5p:blue:power"
+               ;;
        pb44)
                status_led="pb44:amber:jump1"
                ;;

Modified: trunk/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
===================================================================
--- trunk/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds       
2014-07-20 17:30:32 UTC (rev 41769)
+++ trunk/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds       
2014-07-20 17:30:44 UTC (rev 41770)
@@ -185,6 +185,11 @@
        ucidef_set_led_netdev "port2" "port2" "om2p:blue:lan" "eth1"
        ;;
 
+om5p)
+       ucidef_set_led_netdev "port1" "port1" "om5p:blue:wan" "eth0"
+       ucidef_set_led_netdev "port2" "port2" "om5p:blue:lan" "eth1"
+       ;;
+
 tew-712br)
        ucidef_set_led_netdev "wan" "WAN" "trendnet:green:wan" "eth1"
        ucidef_set_led_switch "lan1" "LAN1" "trendnet:green:lan1" "switch0" 
"0x02"

Modified: trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh
===================================================================
--- trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh  2014-07-20 17:30:32 UTC 
(rev 41769)
+++ trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh  2014-07-20 17:30:44 UTC 
(rev 41770)
@@ -412,6 +412,9 @@
        *"OM2P LC")
                name="om2p-lc"
                ;;
+       *OM5P)
+               name="om5p"
+               ;;
        *PB42)
                name="pb42"
                ;;
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to