On Tue, Oct 01, 2019 at 09:47:08AM -0700, Florian Fainelli wrote: > On 10/1/19 1:29 AM, Icenowy Zheng wrote: > > There're some Pine64+ boards known to have broken RTL8211E chips, and > > a hack is given by Pine64+, which is said to be from Realtek. > > > > This patchset adds the hack. > > > > The hack is taken from U-Boot, and it contains magic numbers without > > any document. > > Such hacks are the very reason why PHY fixups exists, please investigate > working with Realtek first to understand how to make this hack less of a > hack so it is understood what it does and you can either add proper > infrastructure to the realtek PHY driver to perform that hack, or if > that is not an option, register a board specific fixup. Hi Icenowy It would also be nice to know if only Pine64 has these bad PHYs, or if they were in the general distribution chain and other boards might have them as well. Andrew