Merge branch 'rtl8366-cleanups'
authorDavid S. Miller <davem@davemloft.net>
Mon, 27 Sep 2021 15:33:57 +0000 (16:33 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Sep 2021 15:33:57 +0000 (16:33 +0100)
Linus Walleij says:

====================
RTL8366(RB) cleanups part 1

This is a first set of patches making the RTL8366RB work out of
the box with a default OpenWrt userspace.

We achieve bridge port isolation with the first patch, and the
next 5 patches removes the very weird VLAN set-up with one
VLAN with PVID per port that has been in this driver in all
vendor trees and in OpenWrt for years.

The switch is now managed the way a modern bridge/DSA switch
shall be managed.

After these patches are merged, I will send the next set which
adds new features, some which have circulated before.

ChangeLog v4->v5:
- Drop the patch disabling 4K VLAN.
- Drop the patch forcing VLAN0 untagged.
- Fix a semantic bug in the filer enablement code.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge