aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-06-02 13:21:31 +0000
committerJohn Crispin <blogic@openwrt.org>2014-06-02 13:21:31 +0000
commitdbda454bbe937475b2c9ed6f93f805bdc1afc227 (patch)
treea471d87fded0aceac9e12ad8a01f514f3875ff44 /target/linux
parent133068da212b8faa34ec6eefdc79998f83fccba7 (diff)
downloadmaster-187ad058-dbda454bbe937475b2c9ed6f93f805bdc1afc227.tar.gz
master-187ad058-dbda454bbe937475b2c9ed6f93f805bdc1afc227.tar.bz2
master-187ad058-dbda454bbe937475b2c9ed6f93f805bdc1afc227.zip
ar71xx: add user-space support for OpenMesh OM2P-HSv2
Signed-off-by: Marek Lindner <marek@open-mesh.com> [sven@open-mesh.com: Rebased] Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40962 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh1
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/01_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 616c8cc98f..33ffee7bf5 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -100,6 +100,7 @@ get_status_led() {
om2p | \
om2pv2 | \
om2p-hs | \
+ om2p-hsv2 | \
om2p-lc)
status_led="om2p:blue:power"
;;
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
index aac13c4e8e..4338a49c80 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
@@ -153,6 +153,7 @@ nbg6716)
om2p | \
om2pv2 | \
om2p-hs | \
+om2p-hsv2 | \
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 fa114139a5..a136f4ae63 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -364,6 +364,9 @@ ar71xx_board_detect() {
*"OM2P HS")
name="om2p-hs"
;;
+ *"OM2P HSv2")
+ name="om2p-hsv2"
+ ;;
*"OM2P LC")
name="om2p-lc"
;;