ar71xx: fix switch port mapping for TP-Link TL-WR74xN/D series
authorPiotr Dymacz <pepe2k@gmail.com>
Tue, 27 Jun 2017 11:13:36 +0000 (13:13 +0200)
committerPiotr Dymacz <pepe2k@gmail.com>
Thu, 29 Jun 2017 08:37:36 +0000 (10:37 +0200)
Fixes FS#843

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
target/linux/ar71xx/base-files/etc/board.d/02_network

index 311e091da75b6fe1a6a1530dec55e421d2e327a1..99bd2f7878cc3dd3a8f37c6842d3f099be299929 100755 (executable)
@@ -44,7 +44,6 @@ ar71xx_setup_interfaces()
        tl-wdr3320-v2|\
        tl-wdr3500|\
        tl-wr740n-v6|\
-       tl-wr741nd|\
        tl-wr741nd-v4|\
        tl-wr840n-v2|\
        tl-wr840n-v3|\
@@ -443,6 +442,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.1" "eth1"
                ucidef_add_switch "switch0" \