Re: Problem with PHY offloc for Cadence ethernet
Lloyd Parkes <[email protected]>
| Newsgroups | gmane.os.netbsd.ports.arm,gmane.os.netbsd.devel.network |
|---|---|
| Message-ID | <34fd94f5a713b452187e5612d830a33828047111.camel@must-have-coffee.gen.nz> |
On Fri, 2024-03-22 at 07:31 -0300, Jared McNeill wrote: > Hi Lloyd -- > > I think the right thing to do here is to have the bus glue pass the > PHY > ID to cemac_attach_common. For Zynq you can get that information from > the > device tree -- see > https://nxr.netbsd.org/xref/src/sys/arch/arm/sunxi/sunxi_emac.c#1342 > for > an example of how other drivers do this. Thanks Jared, that's exactly the pointer I was looking for. Ngā mihi, Lloyd