2
0
forked from Ivasoft/openwrt

ath79: add support for TP-Link Archer c7 v2

Signed-off-by: Sibren Vasse <github@sibrenvasse.nl>
This commit is contained in:
Sibren Vasse
2018-06-26 07:25:33 +02:00
committed by John Crispin
parent 2a7e03af37
commit ba74b45476
6 changed files with 278 additions and 1 deletions

View File

@@ -40,6 +40,12 @@ ath79_setup_interfaces()
"0@eth1" "1:lan" "2:lan" "3:lan:3" "4:lan:4"
;;
"tplink,tl-archer-c7-v2")
ucidef_set_interfaces_lan_wan "eth1.1" "eth0.2"
ucidef_add_switch "switch0" \
"0@eth1" "2:lan" "3:lan" "4:lan" "5:lan" "6@eth0" "1:wan"
;;
"tplink,tl-mr3020-v1")
ucidef_set_interface_lan "eth0.1"
ucidef_add_switch "switch0" "0@eth0" "1:lan"