diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-05-30 16:23:09 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2013-05-30 16:23:09 +0000 |
commit | 35b5b38316b2916f419ed4d02522baa200343638 (patch) | |
tree | 30df8c6a7a8f9a22eefd925b94b546ea6e95d970 /target/linux/ar71xx/base-files/etc | |
parent | 91d7c3efc1977ef862d6ab7e3695ee30ddf5c5a2 (diff) | |
download | mtk-20170518-35b5b38316b2916f419ed4d02522baa200343638.zip mtk-20170518-35b5b38316b2916f419ed4d02522baa200343638.tar.gz mtk-20170518-35b5b38316b2916f419ed4d02522baa200343638.tar.bz2 |
ar71xx: add user-space support for TP-LINK Archer C7 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36789
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/diag.sh | 1 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/01_leds | 6 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/02_network | 3 |
3 files changed, 9 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index ed269b2..7b6421b 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -132,6 +132,7 @@ get_status_led() { tl-wr941nd) status_led="tp-link:green:system" ;; + archer-c7 | \ tl-wdr4300 | \ tl-wr703n | \ tl-wr720n-v3) 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 6e3e370..c9bcedd 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds @@ -156,6 +156,12 @@ tl-wdr4300) ucidef_set_led_wlan "wlan2g" "WLAN2G" "tp-link:blue:wlan2g" "phy0tpt" ;; +archer-c7) + ucidef_set_led_usbdev "usb1" "USB1" "tp-link:green:usb1" "1-1" + ucidef_set_led_usbdev "usb2" "USB2" "tp-link:green:usb2" "2-1" + ucidef_set_led_wlan "wlan2g" "WLAN2G" "tp-link:blue:wlan2g" "phy0tpt" + ;; + tl-wr741nd) ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth1" ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x02" 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 a9a3ff2..6f1a837 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network @@ -37,7 +37,8 @@ ap136-010) ;; ap136-020 |\ -ap135-020) +ap135-020 |\ +archer-c7) ucidef_set_interfaces_lan_wan "eth1" "eth0" ucidef_add_switch "switch0" "1" "1" ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4" |