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 <pepe2k@gmail.com>
This commit is contained in:
Piotr Dymacz 2017-07-14 15:14:29 +02:00
parent 671fc88c91
commit 870ca0da7a

View File

@ -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" \