commit | f3c9a666b28572b1a0ae691a47d9a7de4d9cefb3 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@armlinux.org.uk> | Wed Nov 20 12:29:59 2019 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 20 22:29:40 2019 -0800 |
tree | 575df7d88c723bdccb716b855db226673f4d6e9f | |
parent | 9ce33351bd552f712b349f3c1b756c9bb0ea234f [diff] |
net: sfp: soft status and control support Add support for the soft status and control register, which allows TX_FAULT and RX_LOS to be monitored and TX_DISABLE to be set. We make use of this when the board does not support GPIOs for these signals. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>