summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-04-09 10:26:18 +0000
committerJohn Crispin <john@openwrt.org>2016-04-09 10:26:18 +0000
commit7461604bd982d0eb1568a1701157f9afcb920868 (patch)
tree2071788285d209e0f00144afae128f1f1ba125df /target/linux
parent886cb9a744982f0d5a3e63102445eab7033ce0e6 (diff)
downloadmtk-20170518-7461604bd982d0eb1568a1701157f9afcb920868.zip
mtk-20170518-7461604bd982d0eb1568a1701157f9afcb920868.tar.gz
mtk-20170518-7461604bd982d0eb1568a1701157f9afcb920868.tar.bz2
ar71xx: add user-space support for the OpenMesh OM5P-ACv2
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> SVN-Revision: 49150
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ar71xx/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
2 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index da976bd..783a4e6 100644
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -214,7 +214,8 @@ get_status_led() {
om5p-an)
status_led="om5p:blue:power"
;;
- om5p-ac)
+ om5p-ac | \
+ om5p-acv2)
status_led="om5pac:blue:power"
;;
omy-x1)
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index ded9e7e..9c19e23 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -649,6 +649,9 @@ ar71xx_board_detect() {
*"OM5P AC")
name="om5p-ac"
;;
+ *"OM5P ACv2")
+ name="om5p-acv2"
+ ;;
*"OMY-X1")
name="omy-x1"
;;