aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/base-files
diff options
context:
space:
mode:
authorLucian Cristian <lucian.cristian@gmail.com>2018-06-18 19:22:13 +0200
committerJohn Crispin <john@phrozen.org>2018-06-18 20:29:38 +0200
commitb1a173d7c396c0a9e6bb0078a1a061eb9fdd0316 (patch)
tree7efb4941898c229320abc343dd835101bf866938 /target/linux/ath79/base-files
parent0e81968ee8def1d477f12d1eeb63f485c551463e (diff)
downloadupstream-b1a173d7c396c0a9e6bb0078a1a061eb9fdd0316.tar.gz
upstream-b1a173d7c396c0a9e6bb0078a1a061eb9fdd0316.tar.bz2
upstream-b1a173d7c396c0a9e6bb0078a1a061eb9fdd0316.zip
ath79: add support for tl-wr1043nd v2/v3
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
Diffstat (limited to 'target/linux/ath79/base-files')
-rwxr-xr-xtarget/linux/ath79/base-files/etc/board.d/02_network6
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 bfea621c12..f734518f69 100755
--- a/target/linux/ath79/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/base-files/etc/board.d/02_network
@@ -57,6 +57,12 @@ ath79_setup_interfaces()
ucidef_add_switch "switch0" \
"0@eth0" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "5:wan"
;;
+ "tplink,tl-wr1043nd-v2"|\
+ "tplink,tl-wr1043nd-v3")
+ ucidef_set_interfaces_lan_wan "eth1.1" "eth0.2"
+ ucidef_add_switch "switch0" \
+ "0@eth1" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "5:wan" "6@eth0"
+ ;;
"netgear,wndr3800")
ucidef_set_interfaces_lan_wan "eth0" "eth1"
ucidef_add_switch "switch0" \