diff options
| author | Arun Ramadoss <[email protected]> | 2022-05-17 15:13:25 +0530 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-05-18 12:50:59 +0100 |
| commit | a30bf805592ed56af7a9482b4339d9c9bb092784 (patch) | |
| tree | c8d1a77bdb8c0dc3a7389a11d30af0ca9720c4f3 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | 6431ce6cd3bb2ccf55acab0ccaae33208e9a0ab3 (diff) | |
net: dsa: microchip: ksz8795: update the port_cnt value in ksz_chip_data
The port_cnt value in the structure is not used in the switch_init.
Instead it uses the fls(chip->cpu_port), this is due to one of port in
the ksz8794 unavailable. The cpu_port for the 8794 is 0x10, fls(0x10) =
5, hence updating it directly in the ksz_chip_data structure in order to
same with all the other switches in ksz8795.c and ksz9477.c files.
Signed-off-by: Arun Ramadoss <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Reviewed-by: Vladimir Oltean <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions