aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/base-files/etc/uci-defaults
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2014-02-22 11:16:46 +0000
committerJonas Gorski <jogo@openwrt.org>2014-02-22 11:16:46 +0000
commitdb056cb4ad974f8d363f2fa530961ac82635a37b (patch)
treef1da5b2ca518f15e4a809593efe2d81f66a57bac /target/linux/brcm63xx/base-files/etc/uci-defaults
parent2cb29481104f072b8c27e620fe205ef0273c4c4e (diff)
downloadmaster-187ad058-db056cb4ad974f8d363f2fa530961ac82635a37b.tar.gz
master-187ad058-db056cb4ad974f8d363f2fa530961ac82635a37b.tar.bz2
master-187ad058-db056cb4ad974f8d363f2fa530961ac82635a37b.zip
brcm63xx: add VW6339GU support
Completely untested except for booting from network; wan port only works in 10/HD, lan1 only in 100/FD. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39678 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/base-files/etc/uci-defaults')
-rwxr-xr-xtarget/linux/brcm63xx/base-files/etc/uci-defaults/02_network7
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network b/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network
index 6233531ffd..93e2cb70f0 100755
--- a/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network
@@ -102,6 +102,13 @@ NB6)
ucidef_add_switch_vlan "switch0" "2" "0 9t"
;;
+VW6339GU)
+ ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
+ ucidef_add_switch "switch0" "1" "1"
+ ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 8t"
+ ucidef_add_switch_vlan "switch0" "2" "4 8t"
+ ;;
+
*)
ucidef_set_interfaces_lan_wan "eth1" "eth0"
;;