diff options
author | 2017-11-10 11:33:26 -0800 | |
---|---|---|
committer | 2017-11-11 21:55:15 +0900 | |
commit | c499696e7901bda18385ac723b7bd27c3a4af624 (patch) | |
tree | 2af71c8275901b90d953726a5df1fa6e04de07b9 /tools/perf/scripts/python | |
parent | net: bgmac: Pad packets to a minimum size (diff) | |
download | linux-dev-c499696e7901bda18385ac723b7bd27c3a4af624.tar.xz linux-dev-c499696e7901bda18385ac723b7bd27c3a4af624.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions