aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2016-01-27 20:47:44 +0000
committerJo-Philipp Wich <jow@openwrt.org>2016-01-27 20:47:44 +0000
commit01217789ace78f0741a4526a56c187da5869a0ad (patch)
tree688af14e602df72895829e55b931670c6e8dded7 /target/linux/brcm47xx
parentbeb79cd08592b824d0589b3db4065d3234d4f47d (diff)
downloadmaster-187ad058-01217789ace78f0741a4526a56c187da5869a0ad.tar.gz
master-187ad058-01217789ace78f0741a4526a56c187da5869a0ad.tar.bz2
master-187ad058-01217789ace78f0741a4526a56c187da5869a0ad.zip
brcm47xx: add proper switch port mapping for WRT610Nv2 / Linksys E3000v1
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48511 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm47xx')
-rwxr-xr-xtarget/linux/brcm47xx/base-files/etc/board.d/01_detect5
1 files changed, 5 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 76ceac65fa..91ac16eed7 100755
--- a/target/linux/brcm47xx/base-files/etc/board.d/01_detect
+++ b/target/linux/brcm47xx/base-files/etc/board.d/01_detect
@@ -163,6 +163,11 @@ detect_by_model() {
"0:lan" "1:lan" "2:lan" "3:lan" "5@eth0"
;;
+ "Linksys E3000 V1")
+ ucidef_add_switch "switch0" \
+ "0:wan" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "8@eth0"
+ ;;
+
*)
detect_by_boardtype "$boardtype" "$boardnum"
;;