lkml.org 
[lkml]   [2020]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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

    \
     
     \ /
      Last update: 2020-05-23 20:45    [W:4.128 / U:0.196 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site