aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-09-15 10:19:38 +0000
committerJohn Crispin <blogic@openwrt.org>2014-09-15 10:19:38 +0000
commitba33fec925ccd1a96921437a31a1ca49352d0595 (patch)
tree6eb9422e5ba65e6c4d3d53848fa53555b3c11dd6 /target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
parentda18057e0514e7d80e81d9167b856bc20c4b12a9 (diff)
downloadmaster-187ad058-ba33fec925ccd1a96921437a31a1ca49352d0595.tar.gz
master-187ad058-ba33fec925ccd1a96921437a31a1ca49352d0595.tar.bz2
master-187ad058-ba33fec925ccd1a96921437a31a1ca49352d0595.zip
ar71xx: add qihoo 360 c301 router support
Qihoo 360 C301 is a dual band wireless router supports 802.11n and 802.11ac. Its chipset is AR9344 + AR9882 with two 16MB flashes. This patch adds its initial support. v2: * use mtd_get_mac_ascii to fetch MAC address for ath10k. * use ath79_register_pci to initialize AR9882. Signed-off-by: Weijie Gao <hackpascal@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42552 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/uci-defaults/01_leds')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/01_leds4
1 files changed, 4 insertions, 0 deletions
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 3f97d37f12..ef6cf0b53a 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
@@ -192,6 +192,10 @@ om5p)
ucidef_set_led_netdev "port2" "port2" "om5p:blue:lan" "eth1"
;;
+qihoo-c301)
+ ucidef_set_led_wlan "wlan2g" "WLAN2G" "qihoo:red:status" "phy1tpt"
+ ;;
+
smart-300)
ucidef_set_led_netdev "wan" "WAN" "nc-link:green:wan" "eth0"
ucidef_set_led_switch "lan1" "LAN1" "nc-link:green:lan1" "switch0" "0x04"