summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-06-02 14:56:35 +0000
committerJohn Crispin <john@openwrt.org>2014-06-02 14:56:35 +0000
commit8a3c713c971fa83a6f2c373d87b4aedbbe760e86 (patch)
treef990568451f3d6766164f8f4058898620cd86767 /target/linux/ar71xx/base-files/etc
parent05b73eb22fb5e094050c8b5388ee3c4859e8f1df (diff)
downloadmtk-20170518-8a3c713c971fa83a6f2c373d87b4aedbbe760e86.zip
mtk-20170518-8a3c713c971fa83a6f2c373d87b4aedbbe760e86.tar.gz
mtk-20170518-8a3c713c971fa83a6f2c373d87b4aedbbe760e86.tar.bz2
ar71xx: add user-space support for HiWiFi HC6361 board.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> SVN-Revision: 40974
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/01_leds5
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/02_network1
3 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index d555c5b..80f9090 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -65,6 +65,9 @@ get_status_led() {
eap7660d)
status_led="eap7660d:green:ds4"
;;
+ hiwifi-hc6361)
+ status_led="hiwifi:blue:system"
+ ;;
hornet-ub)
status_led="alfa:blue:wps"
;;
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 849fd56..fe5ff93 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
@@ -103,6 +103,11 @@ dir-825-c1)
ucidef_set_led_wlan "wlan2g" "WLAN 2.4 GHz" "d-link:blue:wlan2g" "phy0tpt"
;;
+hiwifi-hc6361)
+ ucidef_set_led_default "inet" "INET" "hiwifi:blue:internet" "0"
+ ucidef_set_led_wlan "wlan" "WLAN" "hiwifi:blue:wlan-2p4" "phy0tpt"
+ ;;
+
hornet-ub)
ucidef_set_led_netdev "lan" "LAN" "alfa:blue:lan" "eth0"
ucidef_set_led_netdev "wan" "WAN" "alfa:blue:wan" "eth1"
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
index e8268ca..4bf4321 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -289,6 +289,7 @@ dir-600-a1 |\
dir-615-c1 |\
dir-615-e1 |\
dir-615-e4 |\
+hiwifi-hc6361 |\
ja76pf |\
mynet-n600 |\
oolite |\