Re: [PATCH v1 2/2] net: stmmac: Add NPCM support
From: Tomer Maimon
Date: Thu Nov 30 2023 - 13:25:23 EST
Hi Andrew,
Thanks for your input.
On Thu, 30 Nov 2023 at 19:26, Andrew Lunn <andrew@xxxxxxx> wrote:
>
> > I will check with the xpcs maintainer how can we add indirect access
> > to the xpcs module.
>
> https://elixir.bootlin.com/linux/latest/source/drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c#L449
>
> It creates a regmap for the memory range. On top of that it creates an
> MDIO bus. You can then access the PCS in the normal way.
>
> Andrew
Best Regards,
Tomer