diff options
author | Tobias Waldekranz <[email protected]> | 2022-03-18 21:13:20 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-03-21 15:51:50 -0700 |
commit | afaed2b142a1ab896764b03d8d26dc8778ea887c (patch) | |
tree | 5517e3c48f44c97880479534376b7609df1230ce /net/lapb/lapb_subr.c | |
parent | e0c0ca3546adf6aaa9ba7c7232bd3b1792f3153b (diff) |
net: dsa: mv88e6xxx: Require ops be implemented to claim STU support
Simply having a physical STU table in the device doesn't do us any
good if there's no implementation of the relevant ops to access that
table. So ensure that chips that claim STU support can also talk to
the hardware.
This fixes an issue where chips that had a their ->info->max_sid
set (due to their family membership), but no implementation (due to
their chip-specific ops struct) would fail to probe.
Fixes: 49c98c1dc7d9 ("net: dsa: mv88e6xxx: Disentangle STU from VTU")
Reported-by: Marek BehĂșn <[email protected]>
Signed-off-by: Tobias Waldekranz <[email protected]>
Reviewed-by: Vladimir Oltean <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Tested-by: Marek BehĂșn <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions