Home
last modified time | relevance | path

Searched hist:c499696e7901bda18385ac723b7bd27c3a4af624 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/dsa/b53/
H A Db53_common.cdiff c499696e7901bda18385ac723b7bd27c3a4af624 Fri Nov 10 13:33:26 CST 2017 Florian Fainelli <f.fainelli@gmail.com> net: dsa: b53: Stop using dev->cpu_port incorrectly

dev->cpu_port is the driver local information that should only be used
to look up register offsets for a particular port, when they differ
(e.g: IMP port override), but it should certainly not be used in place
of the DSA configured CPU port.

Since the DSA switch layer calls port_vlan_{add,del}() on the CPU port
as well, we can remove the specific setting of the CPU port within
port_vlan_{add,del}.

Fixes: ff39c2d68679 ("net: dsa: b53: Add bridge support")
Fixes: 967dd82ffc52 ("net: dsa: b53: Add support for Broadcom RoboSwitch")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>