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
commitf6c4b1eb29ab3863ceafb52585884402d3e6020d (patch)
tree855a8bfbae1a50a47826924d48fa06064f0e0872 /target/linux/brcm63xx/base-files/etc/uci-defaults
parent60edb75e47927fa58df79ace6e76b8a4977cbd85 (diff)
downloadupstream-f6c4b1eb29ab3863ceafb52585884402d3e6020d.tar.gz
upstream-f6c4b1eb29ab3863ceafb52585884402d3e6020d.tar.bz2
upstream-f6c4b1eb29ab3863ceafb52585884402d3e6020d.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> SVN-Revision: 39678
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"
;;