summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2012-05-27 13:22:17 +0000
committerJonas Gorski <jogo@openwrt.org>2012-05-27 13:22:17 +0000
commit226b030e4472a095faf9d48dd8b2e07556ab8b24 (patch)
tree5b46e2b41554a760ad1a2f4aba84125573198119 /target
parentdb1ff5c6fa61a9588b8eef5cd3e9e0aa15fcd070 (diff)
downloadmtk-20170518-226b030e4472a095faf9d48dd8b2e07556ab8b24.zip
mtk-20170518-226b030e4472a095faf9d48dd8b2e07556ab8b24.tar.gz
mtk-20170518-226b030e4472a095faf9d48dd8b2e07556ab8b24.tar.bz2
bcm63xx: add a default switch configuration for DSL-274XB
SVN-Revision: 31874
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/brcm63xx/base-files/etc/uci-defaults/network7
1 files changed, 6 insertions, 1 deletions
diff --git a/target/linux/brcm63xx/base-files/etc/uci-defaults/network b/target/linux/brcm63xx/base-files/etc/uci-defaults/network
index f5fd9cb..66f937d 100755
--- a/target/linux/brcm63xx/base-files/etc/uci-defaults/network
+++ b/target/linux/brcm63xx/base-files/etc/uci-defaults/network
@@ -16,7 +16,6 @@ case "$board_name" in
96348A-122 |\
96358-502V |\
-AW4139 |\
CPVA642 |\
CT536_CT5621 |\
D-4P-W |\
@@ -25,6 +24,12 @@ V2110)
ucidef_set_interface_lan "eth0"
;;
+AW4139)
+ ucidef_set_interface_lan "eth0.1"
+ ucidef_add_switch "eth0" "1" "1"
+ ucidef_add_switch_vlan "eth0" "1" "0 1 2 3 4 5t"
+ ;;
+
DVG3810BN)
ucidef_set_interfaces_lan_wan "eth1.1" "eth0"
ucidef_add_switch "eth1" "1" "1"