• S
    sfc: Simplify PHY polling · fdaa9aed
    Steve Hodgson 提交于
    Falcon can generate events for LASI interrupts from the PHY, but in
    practice we have never implemented this in reference designs.  Instead
    we have polled, inserted the appropriate events, and then handled the
    events later.  This is a waste of time and code.
    
    Instead, make PHY poll functions update the link state synchronously
    and report whether it changed.  We can still make use of the LASI
    registers as a shortcut on the SFT9001.
    Signed-off-by: NBen Hutchings <bhutchings@solarflare.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    fdaa9aed
falcon.h 7.2 KB