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 <john@phrozen.org>
This commit is contained in:
John Crispin 2018-07-30 17:47:06 +02:00
parent 5e1b4c57de
commit eddf4eae97

View File

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