summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2014-09-24 17:05:20 -0700
committerDavid S. Miller <davem@davemloft.net>2014-09-28 17:14:09 -0400
commitb6d045db59210476323caef042c5b50884e4675f (patch)
tree81f8ea611a082f4a671382eed7b795c646e483e1 /net
parent7de1557ce7521e756974d5c28794c2375d28e3cc (diff)
downloadlinux-b6d045db59210476323caef042c5b50884e4675f.tar.bz2
net: dsa: bcm_sf2: add port_enable/disable callbacks
The SF2 switch driver is already architected around per-port enable/disable callbacks, so we just need a slight update to our existing bcm_sf2_port_setup() resp. bcm_sf2_port_disable() functions to be suitable as callbacks for port_enable/port_disable. We need to shuffle a little the code that does the per-port VLAN configuration/isolation since ports can now be brought up/down separately, so we need to make sure that IMP (CPU, management) port is always included in that specific port setup. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions