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

Andrew Lunn andrew at lunn.ch
Thu Nov 30 09:26:13 PST 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 linux-arm-kernel mailing list