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
commit868a0c978077836afee8ddce4d77de02a7047bac (patch)
tree76404233e10650d29fc6eceb3d3deb4a5274ecba /target/linux/ar71xx/base-files
parent511b09522b15e34d6bc9c90c736f45444f41175f (diff)
downloadupstream-868a0c978077836afee8ddce4d77de02a7047bac.tar.gz
upstream-868a0c978077836afee8ddce4d77de02a7047bac.tar.bz2
upstream-868a0c978077836afee8ddce4d77de02a7047bac.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33800 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 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"
;;