summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/natsemi/macsonic.c
diff options
context:
space:
mode:
authorTimur Tabi <timur@codeaurora.org>2017-01-27 16:43:48 -0600
committerDavid S. Miller <davem@davemloft.net>2017-01-29 19:07:02 -0500
commitfd0e97b806f0331df95f5fc58cdd488d169efb7f (patch)
tree0dc31f4a8d67dbc675a99c5e7def5aa10f058ab2 /drivers/net/ethernet/natsemi/macsonic.c
parente7e7454b40d290f6efb63c792c56c416922dcef8 (diff)
downloadblackbird-op-linux-fd0e97b806f0331df95f5fc58cdd488d169efb7f.tar.gz
blackbird-op-linux-fd0e97b806f0331df95f5fc58cdd488d169efb7f.zip
net: qcom/emac: add an error interrupt handler for the sgmii
The SGMII (internal PHY) can report decode errors via an interrupt. It can also report autonegotiation status changes, but we don't need to track those. The SGMII can recover automatically from most decode errors, so we only reset the interface if we get multiple consecutive errors. It's possible for bogus decode errors to be reported while the link is being brought up. The interrupt is registered when the interface is opened, and it's enabled after the link is up. Signed-off-by: Timur Tabi <timur@codeaurora.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/natsemi/macsonic.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud