From 7adef1244d50e8637bd1722a440a14f209b4b939 Mon Sep 17 00:00:00 2001 From: juhosg Date: Wed, 17 Oct 2012 15:26:54 +0000 Subject: AA: ar71xx: add support for the OpenMesh OM2P-HS board Backport of r33800. Signed-off-by: Marek Lindner Signed-off-by: Gabor Juhos git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@33808 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/base-files/etc/diag.sh | 1 + target/linux/ar71xx/base-files/etc/uci-defaults/leds | 1 + target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 +++ 3 files changed, 5 insertions(+) (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 c3f97345c..c371a1f9d 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -88,6 +88,7 @@ get_status_led() { status_led="nbg460n:green:power" ;; om2p | \ + om2p-hs | \ om2p-lc) status_led="om2p:blue:power" ;; diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/leds b/target/linux/ar71xx/base-files/etc/uci-defaults/leds index cb4b68299..ca912c70c 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/leds @@ -78,6 +78,7 @@ nbg460n_550n_550nh) ;; om2p | \ +om2p-hs | \ 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 f3c32555f..14bd581d2 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -237,6 +237,9 @@ ar71xx_board_detect() { *OM2P) name="om2p" ;; + *"OM2P HS") + name="om2p-hs" + ;; *"OM2P LC") name="om2p-lc" ;; -- cgit v1.2.3