ar71xx: fix TL-WR1043N v5 port mapping
authorJohn Crispin <john@phrozen.org>
Mon, 30 Jul 2018 15:47:06 +0000 (17:47 +0200)
committerJohn Crispin <john@phrozen.org>
Mon, 30 Jul 2018 15:47:06 +0000 (17:47 +0200)
fixes 5660c8fb20 ("ar71xx: TL-WR1043N v5: fix mapping of LAN ports to labels on housing.")

Signed-off-by: John Crispin <john@phrozen.org>
target/linux/ar71xx/base-files/etc/board.d/02_network

index 86f794d..ad1cab3 100755 (executable)
@@ -308,7 +308,10 @@ ar71xx_setup_interfaces()
        dir-835-a1|\
        esr900|\
        mynet-n750|\
-       sr3200|\
+       sr3200)
+               ucidef_add_switch "switch0" \
+                       "0@eth0" "1:lan" "2:lan" "3:lan" "4:lan" "5:wan"
+               ;;
        tl-wr1043n-v5)
                ucidef_add_switch "switch0" \
                        "0@eth0" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "5:wan"