net: dsa: b53: Add JOIN_ALL_VLAN support
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 26 Aug 2016 19:18:32 +0000 (12:18 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Aug 2016 20:15:48 +0000 (13:15 -0700)
commit48aea33a77ab8ec76245336ea08eeb3dda34f98a
treecb0e978ea91fe45c4835cf82aa9c17902434f8fc
parentbde5d132c3fc50515e59119794945b0bda5a32bd
net: dsa: b53: Add JOIN_ALL_VLAN support

In order to migrate the bcm_sf2 driver over to the b53 driver for most
VLAN/FDB/bridge operations, we need to add support for the "join all
VLANs" register and behavior which allows us to make a given port join
all VLANs and avoid setting specific VLAN entries when it is leaving the
bridge.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/b53/b53_common.c
drivers/net/dsa/b53/b53_regs.h