[PATCH v1 2/2] net: stmmac: Add NPCM support

Andrew Lunn andrew at lunn.ch
Fri Dec 1 04:26:13 AEDT 2023


> 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


More information about the openbmc mailing list