From: Florian Fainelli Date: Thu, 25 Sep 2014 00:05:20 +0000 (-0700) Subject: net: dsa: bcm_sf2: add port_enable/disable callbacks X-Git-Tag: fixes-against-v3.18-rc2~144^2~130^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6d045db59210476323caef042c5b50884e4675f;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed