Messages in this thread | | | Date | Sat, 23 May 2020 19:44:59 +0100 | From | Russell King - ARM Linux admin <> | Subject | Re: [RFC 07/11] net: phy: reset invalid phy reads of 0 back to 0xffffffff |
| |
On Fri, May 22, 2020 at 04:30:55PM -0500, Jeremy Linton wrote: > MMD's in the device list sometimes return 0 for their id. > When that happens lets reset the id back to 0xfffffff so > that we don't get a stub device created for it. > > This is a questionable commit, but i'm tossing it out > there along with the comment that reading the spec > seems to indicate that maybe there are further registers > that could be probed in an attempt to resolve some futher > "bad" phys. It sort of comes down to do we want unused phy > devices floating around (potentially unmatched in dt) or > do we want to cut them off early and let DT create them > directly.
I'm not sure what you mean "stub device" or "unused phy devices floating around" - the individual MMDs are not treated as separate "phy devices", but as one PHY device as a whole.
-- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTC for 0.8m (est. 1762m) line in suburbia: sync at 13.1Mbps down 424kbps up
| |