Re: [PATCH v3 06/32] net: mediatek: use a struct to cover variations of all SoCs

2022-09-12 Thread Ramon Fried
On Fri, Sep 9, 2022 at 2:59 PM Weijie Gao wrote: > > Using a single soc id to control different initialization and TX/RX flow > for all SoCs is not extensible if more hardware variations are added in > the future. > > This patch introduces a struct to replace the original mtk_soc to allow > the dr

[PATCH v3 06/32] net: mediatek: use a struct to cover variations of all SoCs

2022-09-09 Thread Weijie Gao
Using a single soc id to control different initialization and TX/RX flow for all SoCs is not extensible if more hardware variations are added in the future. This patch introduces a struct to replace the original mtk_soc to allow the driver be able handle newer hardwares. Reviewed-by: Simon Glass