brcm47xx: fix switch port mapping on D-Link DIR-330

D-Link DIR-330 is clone of ASUS WL500GP2, by default conf the WAN port is
eth1, it's not working cus eth1 not soldered and wan port function
performs 5th port of the switch.

Signed-off-by: Antony Black <gtrtfm@gmail.com>
This commit is contained in:
Antony Black 2017-11-02 13:53:26 +03:00 committed by Mathias Kresin
parent eea9d2505b
commit d44a6307c9

View file

@ -147,6 +147,7 @@ detect_by_model() {
"Asus RT-N12"* | \ "Asus RT-N12"* | \
"Asus WL500GP V2" | \ "Asus WL500GP V2" | \
"Buffalo WHR-G125" | \ "Buffalo WHR-G125" | \
"D-Link DIR-330" | \
"Motorola WR850G" | \ "Motorola WR850G" | \
"Siemens SE505 V2") "Siemens SE505 V2")
ucidef_add_switch "switch0" \ ucidef_add_switch "switch0" \