Re: [PATCH net-next] net: dsa: mv88e6xxx: Add helper to get a chip's max_vid

2020-11-11 Thread Jakub Kicinski
On Tue, 10 Nov 2020 20:23:32 +0100 Andrew Lunn wrote: > On Tue, Nov 10, 2020 at 07:57:20PM +0100, Tobias Waldekranz wrote: > > Most of the other chip info constants have helpers to get at them; add > > one for max_vid to keep things consistent. > > > > Suggested-by: Andrew Lunn > > Signed-off-by:

Re: [PATCH net-next] net: dsa: mv88e6xxx: Add helper to get a chip's max_vid

2020-11-10 Thread Andrew Lunn
On Tue, Nov 10, 2020 at 07:57:20PM +0100, Tobias Waldekranz wrote: > Most of the other chip info constants have helpers to get at them; add > one for max_vid to keep things consistent. > > Suggested-by: Andrew Lunn > Signed-off-by: Tobias Waldekranz Reviewed-by: Andrew Lunn Andrew

[PATCH net-next] net: dsa: mv88e6xxx: Add helper to get a chip's max_vid

2020-11-10 Thread Tobias Waldekranz
Most of the other chip info constants have helpers to get at them; add one for max_vid to keep things consistent. Suggested-by: Andrew Lunn Signed-off-by: Tobias Waldekranz --- drivers/net/dsa/mv88e6xxx/chip.c| 18 +- drivers/net/dsa/mv88e6xxx/chip.h| 5 + drivers/n