diff options
author | Arun Ramadoss <[email protected]> | 2022-04-24 16:58:31 +0530 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2022-04-26 10:19:34 +0200 |
commit | de6dd626d7082eda383ec77a5e06093c82122d10 (patch) | |
tree | 1840f091fe15d9c7e588b99c0e7714494d316fcb /tools/perf/scripts/python/mem-phys-addr.py | |
parent | fb0a43f5bd454dfae94aeb293b32669c6ef83b37 (diff) |
net: dsa: ksz: added the generic port_stp_state_set function
The ksz8795 and ksz9477 uses the same algorithm for the
port_stp_state_set function except the register address is different. So
moved the algorithm to the ksz_common.c and used the dev_ops for
register read and write. This function can also used for the lan937x
part. Hence making it generic for all the parts.
Signed-off-by: Arun Ramadoss <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions