On Wed, Oct 28, 2020 at 03:22:32PM +1000, Greg Ungerer wrote: > Some (apparently older) versions of the FEC hardware block do not like > the MMFR register being cleared to avoid generation of MII events at > initialization time. The action of clearing this register results in no > future MII events being generated at all on the problem block. This means > the probing of the MDIO bus will find no PHYs. > > Create a quirk that can be checked at the FECs MII init time so that > the right thing is done. The quirk is set as appropriate for the FEC > hardware blocks that are known to need this. > > Fixes: f166f890c8f0 ("net: ethernet: fec: Replace interrupt driven MDIO with > polled IO") > Signed-off-by: Greg Ungerer <g...@linux-m68k.org>
Tested-by: Andrew Lunn <and...@lunn.ch> I tested this on Vybrid, which is not the best of platforms, since i never had any of these problems on this platform. Jakub, this is for net. Andrew