From 797944d3f193485bfc2be8efc2dd1f928a069581 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Thu, 5 Jul 2012 08:26:53 +0000 Subject: ar71xx: add support for the OpenMesh OM2P-LC board Patch-by: Marek Linder SVN-Revision: 32611 --- target/linux/ar71xx/base-files/etc/diag.sh | 3 ++- target/linux/ar71xx/base-files/etc/uci-defaults/leds | 3 ++- target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 +++ 3 files changed, 7 insertions(+), 2 deletions(-) (limited to 'target/linux/ar71xx/base-files') 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" ;; -- cgit v1.2.3