summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMirko Parthey <mirko.parthey@web.de>2018-05-22 21:23:36 +0200
committerJohn Crispin <john@phrozen.org>2018-05-24 17:24:31 +0200
commitac24a026d21b86f399bdcc677c960f0e0f4ee001 (patch)
tree0d1020fe1cec6df944c9c6ccaa7b5165f731bba9
parentf39a7179bc04dbb5fe48ac9be1493ebed1015d38 (diff)
downloadmtk-20170518-ac24a026d21b86f399bdcc677c960f0e0f4ee001.zip
mtk-20170518-ac24a026d21b86f399bdcc677c960f0e0f4ee001.tar.gz
mtk-20170518-ac24a026d21b86f399bdcc677c960f0e0f4ee001.tar.bz2
brcm47xx: add switch port mapping to Asus WL-500W
Switch ports 0..3 are connected to external ports LAN{1..4} in sequence, switch port 4 is not used, and switch port 5 is connected to the CPU. The WAN port is attached to the CPU's second network interface; it has no connection to the internal switch. Reuse the "Dell TrueMobile 2300" entry, which describes the same mapping. Signed-off-by: Mirko Parthey <mirko.parthey@web.de> (cherry picked from commit 7ac238fc9855d20f0cfbc5754a1f9591438abfe3)
-rwxr-xr-xtarget/linux/brcm47xx/base-files/etc/board.d/01_detect2
1 files changed, 1 insertions, 1 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 1860407..2373145 100755
--- a/target/linux/brcm47xx/base-files/etc/board.d/01_detect
+++ b/target/linux/brcm47xx/base-files/etc/board.d/01_detect
@@ -139,7 +139,6 @@ detect_by_model() {
;;
"Asus WL500G" | \
- "Asus WL500W" | \
"Microsoft MN-700")
ucidef_set_interfaces_lan_wan "eth0" "eth1"
;;
@@ -159,6 +158,7 @@ detect_by_model() {
"0:wan" "1:lan" "2:lan" "3:lan" "4:lan" "5@eth0"
;;
+ "Asus WL500W" | \
"Dell TrueMobile 2300")
ucidef_set_interface_wan "eth1"
ucidef_add_switch "switch0" \