From: Piotr Dymacz Date: Fri, 14 Jul 2017 13:14:29 +0000 (+0200) Subject: ar71xx: fix switch port mapping for TP-Link TL-WR74xN/D series X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=870ca0da7a55d35718f7218f80b7cdb3696ae35b;p=openwrt%2Fstaging%2Fdedeckeh.git ar71xx: fix switch port mapping for TP-Link TL-WR74xN/D series Backport of ad8c315: "ar71xx: fix switch port mapping for TP-Link TL-WR74xN/D series". Fixes FS#843 Signed-off-by: Piotr Dymacz --- diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network index 169b250024..01c947d531 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -42,7 +42,6 @@ ar71xx_setup_interfaces() tl-mr3420|\ tl-wdr3320-v2|\ tl-wdr3500|\ - tl-wr741nd|\ tl-wr741nd-v4|\ tl-wr841n-v11|\ tl-wr841n-v9|\ @@ -401,6 +400,7 @@ ar71xx_setup_interfaces() ucidef_set_interface_raw "eth" "eth0" ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "wan" ;; + tl-wr741nd|\ tl-wr841n-v7) ucidef_set_interfaces_lan_wan "eth0" "eth1" ucidef_add_switch "switch0" \