commit | e545f86573937142b8a90bd65d476b9f001088cf | [log] [tgz] |
---|---|---|
author | Tobias Waldekranz <tobias@waldekranz.com> | Tue Nov 10 19:57:20 2020 +0100 |
committer | Jakub Kicinski <kuba@kernel.org> | Wed Nov 11 18:04:23 2020 -0800 |
tree | 5f3a0903c38b5f108901edc3672bdf8c506b1f48 | |
parent | ca787e0b935cdb45db1715f724d859683c5de297 [diff] |
net: dsa: mv88e6xxx: Add helper to get a chip's max_vid 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 <andrew@lunn.ch> Signed-off-by: Tobias Waldekranz <tobias@waldekranz.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://lore.kernel.org/r/20201110185720.18228-1-tobias@waldekranz.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>