brcm47xx: add proper switch port mapping for WRT610Nv2 / Linksys E3000v1
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 27 Jan 2016 20:47:44 +0000 (20:47 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 27 Jan 2016 20:47:44 +0000 (20:47 +0000)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 48511

target/linux/brcm47xx/base-files/etc/board.d/01_detect

index 76ceac65fa86134d27d81dcf40008905340a842c..91ac16eed74f7df38a535c527c8d793ac34793a0 100755 (executable)
@@ -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"
                ;;