On Wed, Jun 17, 2020 at 10:31:30AM +0200, Linus Walleij wrote: > We loop over the ports to initialize the default VLAN > and PVID for each port. As we need to reuse the > code to reinitialize a single port, break out the > function rtl8366_set_default_vlan_and_pvid(). > > Cc: DENG Qingfang <dqf...@gmail.com> > Cc: Mauri Sandberg <sandb...@mailfence.com> > Signed-off-by: Linus Walleij <linus.wall...@linaro.org>
Reviewed-by: Andrew Lunn <and...@lunn.ch> Andrew