diff options
author | John Crispin <john@openwrt.org> | 2013-11-07 12:46:08 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2013-11-07 12:46:08 +0000 |
commit | f198adc0304af5cd6c232f80c40a8c47bf0a0da3 (patch) | |
tree | c0f92b9cbc899d5417f965624a667528f7585a2b /target/linux | |
parent | b5a90c84887285fea4dedb930365218466629cc2 (diff) | |
download | mtk-20170518-f198adc0304af5cd6c232f80c40a8c47bf0a0da3.zip mtk-20170518-f198adc0304af5cd6c232f80c40a8c47bf0a0da3.tar.gz mtk-20170518-f198adc0304af5cd6c232f80c40a8c47bf0a0da3.tar.bz2 |
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>
SVN-Revision: 38673
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/lantiq/base-files/etc/uci-defaults/02_network | 5 |
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 2cf16f3..86a47b4 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) |