• Russell King's avatar
    sfp: improve RX_LOS handling · 710dfbb0
    Russell King authored
    There are two bits in the option word for the RX_LOS signal.  One
    reports that the RX_LOS signal is active high, the other reports that
    it is active low.  When both or neither are set, the result is not
    well defined in the specification.
    
    Rather than assuming that neither set means normal RX_LOS, take this
    as meaning no RX_LOS signal available, thereby ignoring the signal.
    Signed-off-by: default avatarRussell King <rmk+kernel@armlinux.org.uk>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    710dfbb0
sfp.c 20.6 KB