aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/base-files/etc/board.d
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
commit54de773f2b37c5cd4d47f9f917844e4076c280ba (patch)
treeb89b657090205c016c2be0090c8f6321c3560857 /target/linux/brcm47xx/base-files/etc/board.d
parent39f1157075314784bb1e26c2a1b77107a45a6eb5 (diff)
downloadupstream-54de773f2b37c5cd4d47f9f917844e4076c280ba.tar.gz
upstream-54de773f2b37c5cd4d47f9f917844e4076c280ba.tar.bz2
upstream-54de773f2b37c5cd4d47f9f917844e4076c280ba.zip
brcm47xx: add proper switch port mapping for WRT610Nv2 / Linksys E3000v1
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 48511
Diffstat (limited to 'target/linux/brcm47xx/base-files/etc/board.d')
-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"
;;