diff options
author | John Crispin <blogic@openwrt.org> | 2016-04-09 10:25:51 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2016-04-09 10:25:51 +0000 |
commit | 9ea285b2e38e05fb8498ca70984e0ac361e6f68c (patch) | |
tree | bef20ab8bc2c1ff020c300544b56fab735c2209b | |
parent | dcc315f2ebdad50cb47e3fd70c18640bf0843439 (diff) | |
download | master-187ad058-9ea285b2e38e05fb8498ca70984e0ac361e6f68c.tar.gz master-187ad058-9ea285b2e38e05fb8498ca70984e0ac361e6f68c.tar.bz2 master-187ad058-9ea285b2e38e05fb8498ca70984e0ac361e6f68c.zip |
ar71xx: add user-space support for the OpenMesh OM5P-AC
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49142 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/board.d/01_leds | 5 | ||||
-rw-r--r-- | target/linux/ar71xx/base-files/etc/diag.sh | 3 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 |
3 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/01_leds b/target/linux/ar71xx/base-files/etc/board.d/01_leds index 708ebb9641..ab19a61f75 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -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" diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index a2251d1c15..da976bd0bc 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -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" ;; diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 6b8550acac..ded9e7e33a 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -646,6 +646,9 @@ ar71xx_board_detect() { *"OM5P AN") name="om5p-an" ;; + *"OM5P AC") + name="om5p-ac" + ;; *"OMY-X1") name="omy-x1" ;; |