summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-05-27 13:22:17 +0000
committerjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-05-27 13:22:17 +0000
commit34f9a0d7452daa6735c5c8c2f39cd5ad23cd78d3 (patch)
tree1472a4eda0d5efcdc6a9cb60c76855027ea23366
parent3df0e1587c54b5dc569cfce2d82a300c6146b1ae (diff)
bcm63xx: add a default switch configuration for DSL-274XB
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31874 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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"