ar71xx: fix Netgear WNDR3700 v4 switch port mapping

Signed-off-by: Qian Zheng <sotux82@gmail.com>
This commit is contained in:
Qian Zheng 2017-07-03 15:15:11 +08:00 committed by Piotr Dymacz
parent 6165e4aab0
commit a08ec9a54d

View File

@ -265,8 +265,7 @@ ar71xx_setup_interfaces()
dir-835-a1|\ dir-835-a1|\
esr900|\ esr900|\
mynet-n750|\ mynet-n750|\
sr3200|\ sr3200)
wndr3700v4)
ucidef_add_switch "switch0" \ ucidef_add_switch "switch0" \
"0@eth0" "1:lan" "2:lan" "3:lan" "4:lan" "5:wan" "0@eth0" "1:lan" "2:lan" "3:lan" "4:lan" "5:wan"
;; ;;
@ -349,6 +348,7 @@ ar71xx_setup_interfaces()
epg5000|\ epg5000|\
esr1750|\ esr1750|\
tl-wr1043nd-v4|\ tl-wr1043nd-v4|\
wndr3700v4|\
wndr4300) wndr4300)
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"