diff options
author | John Crispin <blogic@openwrt.org> | 2015-03-17 09:43:31 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-03-17 09:43:31 +0000 |
commit | 195508354e0c804e00c3f11d01bd52178ccbf321 (patch) | |
tree | 4cf5bec39a771d3c6a53bda426efa2c7bb5207af | |
parent | 2f69dbc6693d3ee83a30f2e68dd6b7fb53da626a (diff) | |
download | upstream-195508354e0c804e00c3f11d01bd52178ccbf321.tar.gz upstream-195508354e0c804e00c3f11d01bd52178ccbf321.tar.bz2 upstream-195508354e0c804e00c3f11d01bd52178ccbf321.zip |
ar71xx: add user-space support for the OpenMesh OM5P-AN
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44862 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | target/linux/ar71xx/base-files/etc/diag.sh | 3 | ||||
-rw-r--r-- | target/linux/ar71xx/base-files/etc/uci-defaults/01_leds | 3 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 |
3 files changed, 7 insertions, 2 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 56f956072f..59acc714a1 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -142,7 +142,8 @@ get_status_led() { om2p-lc) status_led="om2p:blue:power" ;; - om5p) + om5p | \ + om5p-an) status_led="om5p:blue:power" ;; pb44) diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds index d4cc617b99..e18c2bc78b 100644 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds @@ -233,7 +233,8 @@ om2p-lc) 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" ;; diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 04fb716c42..d2fe6efeb3 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -512,6 +512,9 @@ ar71xx_board_detect() { *OM5P) name="om5p" ;; + *"OM5P AN") + name="om5p-an" + ;; *PB42) name="pb42" ;; |