aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorSven Eckelmann <sven.eckelmann@open-mesh.com>2016-06-02 11:25:00 +0200
committerJohn Crispin <john@phrozen.org>2017-02-14 12:18:04 +0100
commitbdfe4c12180fc50fabcc56ca52f771ab56e068a4 (patch)
tree95615d1c92625740f0e2b28a28c64ff1b87a3fd6 /target/linux
parente1b50457b0356586211dc02376ddfb5b33eab8e6 (diff)
downloadupstream-bdfe4c12180fc50fabcc56ca52f771ab56e068a4.tar.gz
upstream-bdfe4c12180fc50fabcc56ca52f771ab56e068a4.tar.bz2
upstream-bdfe4c12180fc50fabcc56ca52f771ab56e068a4.zip
ar71xx: add user-space support for the OpenMesh OM2Pv4/-HSv4
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/01_leds2
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/02_network2
-rw-r--r--target/linux/ar71xx/base-files/etc/diag.sh2
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh6
4 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/01_leds b/target/linux/ar71xx/base-files/etc/board.d/01_leds
index b1ecb0204f..b0aa7c2b24 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/01_leds
+++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds
@@ -405,9 +405,11 @@ nbg6716)
;;
om2p|\
om2pv2|\
+om2pv4|\
om2p-hs|\
om2p-hsv2|\
om2p-hsv3|\
+om2p-hsv4|\
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/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network
index f01e1bb61a..0687b29208 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/target/linux/ar71xx/base-files/etc/board.d/02_network
@@ -128,6 +128,8 @@ ar71xx_setup_interfaces()
gl-inet|\
gl-mifi|\
jwap003|\
+ om2pv4|\
+ om2p-hsv4|\
pb42|\
pb44|\
rb-951ui-2hnd|\
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index edcf621b76..17b324d65e 100644
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -242,9 +242,11 @@ get_status_led() {
;;
om2p|\
om2pv2|\
+ om2pv4|\
om2p-hs|\
om2p-hsv2|\
om2p-hsv3|\
+ om2p-hsv4|\
om2p-lc)
status_led="om2p:blue:power"
;;
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 3ca2c0d633..f090b041d0 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -742,6 +742,9 @@ ar71xx_board_detect() {
*OM2Pv2)
name="om2pv2"
;;
+ *OM2Pv4)
+ name="om2pv4"
+ ;;
*"OM2P HS")
name="om2p-hs"
;;
@@ -751,6 +754,9 @@ ar71xx_board_detect() {
*"OM2P HSv3")
name="om2p-hsv3"
;;
+ *"OM2P HSv4")
+ name="om2p-hsv4"
+ ;;
*"OM2P LC")
name="om2p-lc"
;;