aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-10-17 08:26:01 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-10-17 08:26:01 +0000
commitc5a32cfc9270d17f9b150ed2fb0aff44d56ee24d (patch)
tree8ffd0c37fa5c59b8ba32a84c266f87697ceea4db /target/linux/ar71xx/base-files
parent8fc2b30281285e905209e64a31e3db076b143e8d (diff)
downloadupstream-c5a32cfc9270d17f9b150ed2fb0aff44d56ee24d.tar.gz
upstream-c5a32cfc9270d17f9b150ed2fb0aff44d56ee24d.tar.bz2
upstream-c5a32cfc9270d17f9b150ed2fb0aff44d56ee24d.zip
ar71xx: add support for the OpenMesh OM2P-HS board
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 33800
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 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"
;;