From c5a32cfc9270d17f9b150ed2fb0aff44d56ee24d Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Wed, 17 Oct 2012 08:26:01 +0000 Subject: ar71xx: add support for the OpenMesh OM2P-HS board Signed-off-by: Marek Lindner Signed-off-by: Gabor Juhos SVN-Revision: 33800 --- 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 c3f97345c6..c371a1f9dd 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 cb4b682994..ca912c70cf 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 f3c32555fe..14bd581d24 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