ramips: fix edimax 6200nl switch config
With 3a9752bbd2
and later changes to
ramips_set_preinit_iface() the default vlan config applied during
preinit was changed. These changes were made without updating the
default network config to ensure that vlan interfaces used for lan/wan
are still configured.
Fix the issue by using the default all LAN portmap and disabling not
connected switch ports using portdisable device tree parameter.
Signed-off-by: Mathias Kresin <dev@kresin.me>
This commit is contained in:
parent
bbdf2ac305
commit
51bca43f39
2 changed files with 1 additions and 2 deletions
|
@ -58,7 +58,6 @@ ramips_setup_interfaces()
|
||||||
ucidef_add_switch_attr "switch0" "enable" "false"
|
ucidef_add_switch_attr "switch0" "enable" "false"
|
||||||
ucidef_set_interface_lan "eth0"
|
ucidef_set_interface_lan "eth0"
|
||||||
;;
|
;;
|
||||||
3g-6200nl|\
|
|
||||||
mlw221|\
|
mlw221|\
|
||||||
mr-102n)
|
mr-102n)
|
||||||
ucidef_set_interface_lan "eth0.2"
|
ucidef_set_interface_lan "eth0.2"
|
||||||
|
|
|
@ -81,7 +81,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
&esw {
|
&esw {
|
||||||
mediatek,portmap = <0x2f>;
|
mediatek,portdisable = <0x37>;
|
||||||
};
|
};
|
||||||
|
|
||||||
&wmac {
|
&wmac {
|
||||||
|
|
Loading…
Reference in a new issue