summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-03-16 09:26:58 +0000
committerJohn Crispin <john@openwrt.org>2016-03-16 09:26:58 +0000
commit3fd98db8185a2636b90c7d41452e98fc8583a4e7 (patch)
treeaed29a009efca4035b151d6225e06a5a293000e3 /target/linux/ar71xx/base-files/etc
parentae30ad61fbc422365a4b008c3605c39973b11a65 (diff)
downloadmaster-31e0f0ae-3fd98db8185a2636b90c7d41452e98fc8583a4e7.tar.gz
master-31e0f0ae-3fd98db8185a2636b90c7d41452e98fc8583a4e7.tar.bz2
master-31e0f0ae-3fd98db8185a2636b90c7d41452e98fc8583a4e7.zip
ar71xx: Add support for the OMYlink OMY-X1
This patch adds support for the OMYlink OMY-X1 https://wiki.openwrt.org/toh/omylink/omy-x1 http://www.omylink.com/ Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 49026
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/01_leds5
-rw-r--r--target/linux/ar71xx/base-files/etc/diag.sh3
2 files changed, 8 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 eff6e0d451..cfe5f1d739 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/01_leds
+++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds
@@ -394,6 +394,11 @@ om5p-an)
ucidef_set_led_netdev "port2" "port2" "om5p:blue:lan" "eth1"
;;
+omy-x1)
+ ucidef_set_led_default "power" "POWER" "omy:green:power" "1"
+ ucidef_set_led_default "wan" "WAN" "omy:green:wan" "eth0"
+ ;;
+
qihoo-c301)
ucidef_set_led_wlan "wlan2g" "WLAN2G" "qihoo:red:status" "phy1tpt"
;;
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index d083a799fa..a2251d1c15 100644
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -214,6 +214,9 @@ get_status_led() {
om5p-an)
status_led="om5p:blue:power"
;;
+ omy-x1)
+ status_led="omy:green:power"
+ ;;
onion-omega)
status_led="onion:amber:system"
;;