aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-06-02 14:56:35 +0000
committerJohn Crispin <blogic@openwrt.org>2014-06-02 14:56:35 +0000
commit66f9773a0a703440844956c26fc0f842cfc4b06d (patch)
treef33cd848bc08a24fc327f1d807809c7dce6203aa /target/linux/ar71xx/base-files/etc
parent836b1044624c21dce96db6e56755a9779b800814 (diff)
downloadupstream-66f9773a0a703440844956c26fc0f842cfc4b06d.tar.gz
upstream-66f9773a0a703440844956c26fc0f842cfc4b06d.tar.bz2
upstream-66f9773a0a703440844956c26fc0f842cfc4b06d.zip
ar71xx: add user-space support for HiWiFi HC6361 board.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40974 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 d555c5b603..80f9090b1a 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 849fd564ac..fe5ff93130 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 e8268cac8b..4bf4321cd3 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 |\