aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/base-files/etc
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
commit4ecf7d09a15c2cd95ea470075d5ffdafbc400534 (patch)
tree1472a4eda0d5efcdc6a9cb60c76855027ea23366 /target/linux/brcm63xx/base-files/etc
parent4abdddf848924040b478349207d10ddac3b7d17f (diff)
downloadupstream-4ecf7d09a15c2cd95ea470075d5ffdafbc400534.tar.gz
upstream-4ecf7d09a15c2cd95ea470075d5ffdafbc400534.tar.bz2
upstream-4ecf7d09a15c2cd95ea470075d5ffdafbc400534.zip
bcm63xx: add a default switch configuration for DSL-274XB
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31874 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/base-files/etc')
-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 f5fd9cba2a..66f937d53d 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"