diff options
author | Arun Ramadoss <arun.ramadoss@microchip.com> | 2022-04-24 14:28:31 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2022-04-26 11:19:34 +0300 |
commit | de6dd626d7082eda383ec77a5e06093c82122d10 (patch) | |
tree | 1840f091fe15d9c7e588b99c0e7714494d316fcb /crypto/lzo.c | |
parent | fb0a43f5bd454dfae94aeb293b32669c6ef83b37 (diff) | |
download | linux-de6dd626d7082eda383ec77a5e06093c82122d10.tar.xz |
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 <arun.ramadoss@microchip.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20220424112831.11504-1-arun.ramadoss@microchip.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'crypto/lzo.c')
0 files changed, 0 insertions, 0 deletions