aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-11-07 12:46:08 +0000
committerJohn Crispin <blogic@openwrt.org>2013-11-07 12:46:08 +0000
commitd0852c356d1f9c780550118d48f5a9da8927f219 (patch)
tree5d8def1b6050efe114e5c22aea667a0c1f92a073 /target
parent66600c3f59e1a410d09e0f858fc057c5a93dc7b1 (diff)
downloadmaster-187ad058-d0852c356d1f9c780550118d48f5a9da8927f219.tar.gz
master-187ad058-d0852c356d1f9c780550118d48f5a9da8927f219.tar.bz2
master-187ad058-d0852c356d1f9c780550118d48f5a9da8927f219.zip
lantiq: Fix ar8216 switch configuration for WBMR-HP-G300H devices
The switch is renamed to "switch0" in newer (3.10) linux kernels. Configure the switch using vlans by default and only configure the physical switch ports that are present. Signed-off-by: Richard Mortimer <richm@oldelvet.org.uk> Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38673 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/lantiq/base-files/etc/uci-defaults/02_network5
1 files changed, 3 insertions, 2 deletions
diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/02_network b/target/linux/lantiq/base-files/etc/uci-defaults/02_network
index 2cf16f3418..86a47b4a07 100644
--- a/target/linux/lantiq/base-files/etc/uci-defaults/02_network
+++ b/target/linux/lantiq/base-files/etc/uci-defaults/02_network
@@ -65,8 +65,9 @@ ARV4519PW|ARV7518PW|ARV752DPW22)
;;
WBMR)
- ucidef_add_switch "eth0" "1" "0"
- ucidef_add_switch_vlan "eth0" "1" "0 1 2 3 4 5"
+ ucidef_set_interface_lan "eth0.1"
+ ucidef_add_switch "switch0" "1" "1"
+ ucidef_add_switch_vlan "switch0" "1" "0t 2 3 4 5"
;;
VG3503J)