[source] brcm47xx: fix switch port mapping on D-Link DIR-330
LEDE Commits
lede-commits at lists.infradead.org
Thu Nov 16 13:57:50 PST 2017
mkresin pushed a commit to source.git, branch master:
https://git.lede-project.org/d44a6307c9eb928f9c26dbed8f862b7931af7c4e
commit d44a6307c9eb928f9c26dbed8f862b7931af7c4e
Author: Antony Black <gtrtfm at gmail.com>
AuthorDate: Thu Nov 2 13:53:26 2017 +0300
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 at gmail.com>
---
target/linux/brcm47xx/base-files/etc/board.d/01_detect | 1 +
1 file changed, 1 insertion(+)
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 3d85dbd..1860407 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" \
More information about the lede-commits
mailing list