Messages in this thread | | | Date | Sun, 24 Apr 2022 16:01:34 -0700 | Subject | Re: [Patch net-next] net: dsa: ksz: added the generic port_stp_state_set function | From | Florian Fainelli <> |
| |
On 4/24/2022 4:28 AM, Arun Ramadoss wrote: > 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> -- Florian
| |