aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntony Black <gtrtfm@gmail.com>2017-11-02 13:53:26 +0300
committerMathias Kresin <dev@kresin.me>2017-11-16 22:56:54 +0100
commitd44a6307c9eb928f9c26dbed8f862b7931af7c4e (patch)
tree09c01a5f6df047220a6f0646f0dd681364e918a9
parenteea9d2505b39da9d34462b48b9dc9cee7222fbb1 (diff)
downloadupstream-d44a6307c9eb928f9c26dbed8f862b7931af7c4e.tar.gz
upstream-d44a6307c9eb928f9c26dbed8f862b7931af7c4e.tar.bz2
upstream-d44a6307c9eb928f9c26dbed8f862b7931af7c4e.zip
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>
-rwxr-xr-xtarget/linux/brcm47xx/base-files/etc/board.d/01_detect1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/brcm47xx/base-files/etc/board.d/01_detect b/target/linux/brcm47xx/base-files/etc/board.d/01_detect
index 3d85dbd9c3..18604072f3 100755
--- a/target/linux/brcm47xx/base-files/etc/board.d/01_detect
+++ b/target/linux/brcm47xx/base-files/etc/board.d/01_detect
@@ -147,6 +147,7 @@ detect_by_model() {
"Asus RT-N12"* | \
"Asus WL500GP V2" | \
"Buffalo WHR-G125" | \
+ "D-Link DIR-330" | \
"Motorola WR850G" | \
"Siemens SE505 V2")
ucidef_add_switch "switch0" \