diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-07-05 08:26:53 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-07-05 08:26:53 +0000 |
commit | 797944d3f193485bfc2be8efc2dd1f928a069581 (patch) | |
tree | ea4378f2fce5bea53e917cc017fa683d6486a02a /target/linux/ar71xx/base-files | |
parent | 518a70f06c0e3cc866d15e7d072725d5d7b65f8e (diff) | |
download | upstream-797944d3f193485bfc2be8efc2dd1f928a069581.tar.gz upstream-797944d3f193485bfc2be8efc2dd1f928a069581.tar.bz2 upstream-797944d3f193485bfc2be8efc2dd1f928a069581.zip |
ar71xx: add support for the OpenMesh OM2P-LC board
Patch-by: Marek Linder <marek@open-mesh.com>
SVN-Revision: 32611
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/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 76518bd3cd..f52012f75a 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -84,7 +84,8 @@ get_status_led() { nbg460n_550n_550nh) status_led="nbg460n:green:power" ;; - om2p) + om2p | \ + om2p-lc) status_led="om2p:blue:power" ;; pb44) diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/leds b/target/linux/ar71xx/base-files/etc/uci-defaults/leds index 0415221872..e32d33d2ad 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/leds @@ -63,7 +63,8 @@ nbg460n_550n_550nh) ucidef_set_led_wlan "wlan" "WLAN" "nbg460n:green:wlan" "phy0tpt" ;; -om2p) +om2p | \ +om2p-lc) ucidef_set_led_netdev "port1" "port1" "om2p:blue:wan" "eth0" ucidef_set_led_netdev "port2" "port2" "om2p:blue:lan" "eth1" ;; diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 40e76d56f5..702fa7e546 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -225,6 +225,9 @@ ar71xx_board_detect() { *OM2P) name="om2p" ;; + *"OM2P LC") + name="om2p-lc" + ;; *PB42) name="pb42" ;; |