summaryrefslogtreecommitdiff
path: root/net/packet
diff options
context:
space:
mode:
authorArun Ramadoss <arun.ramadoss@microchip.com>2022-04-24 16:58:31 +0530
committerPaolo Abeni <pabeni@redhat.com>2022-04-26 10:19:34 +0200
commitde6dd626d7082eda383ec77a5e06093c82122d10 (patch)
tree1840f091fe15d9c7e588b99c0e7714494d316fcb /net/packet
parentfb0a43f5bd454dfae94aeb293b32669c6ef83b37 (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 <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 'net/packet')
0 files changed, 0 insertions, 0 deletions