aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
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/ar71xx
parent886cb9a744982f0d5a3e63102445eab7033ce0e6 (diff)
downloadupstream-7461604bd982d0eb1568a1701157f9afcb920868.tar.gz
upstream-7461604bd982d0eb1568a1701157f9afcb920868.tar.bz2
upstream-7461604bd982d0eb1568a1701157f9afcb920868.zip
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/ar71xx')
-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 da976bd0bc..783a4e6478 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 ded9e7e33a..9c19e23e4d 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"
;;