aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-17 15:26:54 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-17 15:26:54 +0000
commit7adef1244d50e8637bd1722a440a14f209b4b939 (patch)
tree0b9ea761d15bbc41ce5f9a127ec786a41fa102aa /target/linux/ar71xx/base-files
parent9a5682546b465ca9752c5200d958661ebc9016e6 (diff)
downloadopenwrt-7adef1244d50e8637bd1722a440a14f209b4b939.tar.gz
openwrt-7adef1244d50e8637bd1722a440a14f209b4b939.zip
AA: ar71xx: add support for the OpenMesh OM2P-HS board
Backport of r33800. Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@33808 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh1
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/leds1
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
3 files changed, 5 insertions, 0 deletions
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"
;;