On 08.08.2019 22:20, Andrew Lunn wrote: >> I have a contact in Realtek who provided the information about >> the vendor-specific registers used in the patch. I also asked for >> a method to auto-detect 2.5Gbps support but have no feedback so far. >> What may contribute to the problem is that also the integrated 1Gbps >> PHY's (all with the same PHY ID) differ significantly from each other, >> depending on the network chip version. > > Hi Heiner > > Some of the PHYs embedded in Marvell switches have an OUI, but no > product ID. We work around this brokenness by trapping the reads to > the ID registers in the MDIO bus controller driver and inserting the > switch product ID. The Marvell PHY driver then recognises these IDs > and does the right thing. > > Maybe you can do something similar here? > Yes, this would be an idea. Let me check.
> Andrew > Thanks, Heiner