diff options
author | Timur Tabi <timur@codeaurora.org> | 2017-01-27 16:43:48 -0600 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-29 19:07:02 -0500 |
commit | fd0e97b806f0331df95f5fc58cdd488d169efb7f (patch) | |
tree | 0dc31f4a8d67dbc675a99c5e7def5aa10f058ab2 /drivers/net/ethernet/rdc | |
parent | e7e7454b40d290f6efb63c792c56c416922dcef8 (diff) | |
download | blackbird-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/rdc')
0 files changed, 0 insertions, 0 deletions