Re: [Patch net-next 5/9] net: dsa: microchip: move port memory allocation to ksz_common

Vladimir Oltean
2022-05-18T12:02:49Z

On Tue, May 17, 2022 at 03:13:29PM +0530, Arun Ramadoss wrote:
> ksz8795 and ksz9477 init function initializes the memory to dev->ports,
> mib counters and assigns the ds real number of ports. Since both the
> routines are same, moved the allocation of port memory to
> ksz_switch_register after init.
>
> Signed-off-by: Arun Ramadoss <arun.ramadoss@microchip.com>
> ---