Re: [PATCH net-next 2/3] net: dsa: b53: Stop using dev->cpu_port incorrectly

2017-11-09 Thread Florian Fainelli
On 11/09/2017 02:26 PM, Florian Fainelli wrote: > 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. >

[PATCH net-next 2/3] net: dsa: b53: Stop using dev->cpu_port incorrectly

2017-11-09 Thread Florian Fainelli
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}() o