From: John Crispin Date: Mon, 30 Jul 2018 15:47:06 +0000 (+0200) Subject: ar71xx: fix TL-WR1043N v5 port mapping X-Git-Tag: v19.07.0-rc1~2969 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=eddf4eae9777bf7328ece08451752abeab315919;p=oweals%2Fopenwrt.git ar71xx: fix TL-WR1043N v5 port mapping fixes 5660c8fb20 ("ar71xx: TL-WR1043N v5: fix mapping of LAN ports to labels on housing.") Signed-off-by: John Crispin --- 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 86f794dc00..ad1cab3594 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -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"