]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: bcm_sf2: Get VLAN_PORT_MASK from b53_device
authorFlorian Fainelli <f.fainelli@gmail.com>
Sat, 10 Sep 2016 19:39:03 +0000 (12:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Sep 2016 02:37:02 +0000 (19:37 -0700)
commitc878b4c9424628c7521d8feea93e2d084243bc17
tree69c0b866e7fb7419d7e8cd2608951822cedee871
parent05d932c07836035414a9212f22b54f051a704f09
net: dsa: bcm_sf2: Get VLAN_PORT_MASK from b53_device

While migrating the bcm_sf2 driver to use b53_common, we left a small
piece untouched where we kept our local copy of the per-port
port_vlan_ctl bitmask value. This value is now maintained by b53_device
so we need to use it instead of our local (and now stale) copy of it.

Fixes: 4dd548c2fd9f ("net: dsa: bcm_sf2: Utilize core B53 driver when possible")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/bcm_sf2.c
drivers/net/dsa/bcm_sf2.h