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

2022-08-07 Thread Weijie Gao
On Thu, 2022-08-04 at 07:56 -0600, Simon Glass wrote: > Hi Weijie, > > On Wed, 3 Aug 2022 at 21:36, 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

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

2022-08-04 Thread Simon Glass
Hi Weijie, On Wed, 3 Aug 2022 at 21:36, 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

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

2022-08-03 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. Signed-off-by: Weijie