summaryrefslogtreecommitdiff
path: root/target/linux/brcm47xx/base-files/etc
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:57:06 +0100
commitecaad8b2cb4604d514baee2655d3f390f3c0eb3f (patch)
tree159ad51c5d243d89a6d376c509e01c30b3d8b5f8 /target/linux/brcm47xx/base-files/etc
parentd851d7fa56d68f45c647d4c567268b08e852d258 (diff)
downloadmtk-20170518-ecaad8b2cb4604d514baee2655d3f390f3c0eb3f.zip
mtk-20170518-ecaad8b2cb4604d514baee2655d3f390f3c0eb3f.tar.gz
mtk-20170518-ecaad8b2cb4604d514baee2655d3f390f3c0eb3f.tar.bz2
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>
Diffstat (limited to 'target/linux/brcm47xx/base-files/etc')
-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 4eb9dbe..cf96de5 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" \