diff options
author | John Crispin <blogic@openwrt.org> | 2014-07-20 17:30:44 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-07-20 17:30:44 +0000 |
commit | 3c22f66f588d54e5189d538df6ce7b6773774d74 (patch) | |
tree | 6e02447aef097dd6d782cc3c6995354e3874ae4b /target/linux/ar71xx/base-files | |
parent | 64b0959222839e9459d279be4de3f630cb9ebbb8 (diff) | |
download | upstream-3c22f66f588d54e5189d538df6ce7b6773774d74.tar.gz upstream-3c22f66f588d54e5189d538df6ce7b6773774d74.tar.bz2 upstream-3c22f66f588d54e5189d538df6ce7b6773774d74.zip |
ar71xx: add user-space support for the OpenMesh OM5P
Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41770 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/diag.sh | 3 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/01_leds | 5 | ||||
-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/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index d94d410863..566b53dcf3 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -124,6 +124,9 @@ get_status_led() { om2p-lc) status_led="om2p:blue:power" ;; + om5p) + status_led="om5p:blue:power" + ;; pb44) status_led="pb44:amber:jump1" ;; 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 f7757de0f3..fa8466110e 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds @@ -185,6 +185,11 @@ om2p-lc) 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" diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index ef7240efdb..2999359796 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -412,6 +412,9 @@ ar71xx_board_detect() { *"OM2P LC") name="om2p-lc" ;; + *OM5P) + name="om5p" + ;; *PB42) name="pb42" ;; |