diff options
author | John Crispin <john@openwrt.org> | 2014-09-15 10:19:38 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-09-15 10:19:38 +0000 |
commit | 7dbbdfb61f99a765ff02d40daa1d63c769df41ef (patch) | |
tree | 2d02c4580ff00b8f32bcb252edae867b296133d7 /target/linux/ar71xx/base-files/etc | |
parent | b520e9b8d441b85e17e29b854306179f1bdb4787 (diff) | |
download | mtk-20170518-7dbbdfb61f99a765ff02d40daa1d63c769df41ef.zip mtk-20170518-7dbbdfb61f99a765ff02d40daa1d63c769df41ef.tar.gz mtk-20170518-7dbbdfb61f99a765ff02d40daa1d63c769df41ef.tar.bz2 |
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>
SVN-Revision: 42552
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/diag.sh | 3 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/01_leds | 4 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/02_network | 1 |
3 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index fba6032..ac7e20d 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -166,6 +166,9 @@ get_status_led() { oolite) status_led="oolite:red:system" ;; + qihoo-c301) + status_led="qihoo:green:status" + ;; tew-632brp) status_led="tew-632brp:green:status" ;; 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 3f97d37..ef6cf0b 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" 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 8a0159c..fdbca51 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network @@ -347,6 +347,7 @@ hiwifi-hc6361 |\ ja76pf |\ mynet-n600 |\ oolite |\ +qihoo-c301 |\ rb-750 |\ rb-751 |\ tew-632brp |\ |