diff options
author | Alex Maclean <monkeh@monkeh.net> | 2018-05-30 14:18:53 +0100 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-06-01 08:23:14 +0200 |
commit | d215d0f9ae201d1ca6a50b809337a08e0813b9c9 (patch) | |
tree | 06f944626062152f031f494fe890389132291e21 /target/linux/ath79/base-files/etc/board.d/02_network | |
parent | fab3254b3217a3e70d3d83f27027b734dc714d60 (diff) | |
download | upstream-d215d0f9ae201d1ca6a50b809337a08e0813b9c9.tar.gz upstream-d215d0f9ae201d1ca6a50b809337a08e0813b9c9.tar.bz2 upstream-d215d0f9ae201d1ca6a50b809337a08e0813b9c9.zip |
ath79: add TP-Link TL-WR740N/ND v2 port
Signed-off-by: Alex Maclean <monkeh@monkeh.net>
Diffstat (limited to 'target/linux/ath79/base-files/etc/board.d/02_network')
-rwxr-xr-x | target/linux/ath79/base-files/etc/board.d/02_network | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/ath79/base-files/etc/board.d/02_network b/target/linux/ath79/base-files/etc/board.d/02_network index c4f69a8802..7dc90fcab7 100755 --- a/target/linux/ath79/base-files/etc/board.d/02_network +++ b/target/linux/ath79/base-files/etc/board.d/02_network @@ -23,6 +23,12 @@ ath79_setup_interfaces() "0@eth0" "2:lan:1" "3:lan:2" "4:lan:3" "5:lan:4" "1:wan" ;; + "tplink,tl-wr740n-v2") + ucidef_set_interfaces_lan_wan "eth1.1" "eth0" + ucidef_add_switch "switch0" \ + "0@eth1" "1:lan" "2:lan" "3:lan" "4:lan" + ;; + "tplink,tl-wr1043nd-v1") ucidef_add_switch "switch0" \ "1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "5@eth0" |