linux_dsm_epyc7002/drivers/net/ethernet/qualcomm/emac
Timur Tabi fd0e97b806 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>
2017-01-29 19:07:02 -05:00
..
emac-ethtool.c net: qcom/emac: add ethtool support 2017-01-10 13:26:25 -05:00
emac-mac.c net: qcom/emac: add an error interrupt handler for the sgmii 2017-01-29 19:07:02 -05:00
emac-mac.h net: qcom/emac: do not call emac_mac_start twice 2017-01-29 19:07:02 -05:00
emac-phy.c net: qcom/emac: display the phy driver info after we connect 2017-01-29 19:07:02 -05:00
emac-phy.h net: qcom/emac: rename emac_phy to emac_sgmii and move it 2017-01-23 12:54:35 -05:00
emac-sgmii-fsm9900.c net: qcom/emac: rename emac_phy to emac_sgmii and move it 2017-01-23 12:54:35 -05:00
emac-sgmii-qdf2400.c net: qcom/emac: rename emac_phy to emac_sgmii and move it 2017-01-23 12:54:35 -05:00
emac-sgmii-qdf2432.c net: qcom/emac: rename emac_phy to emac_sgmii and move it 2017-01-23 12:54:35 -05:00
emac-sgmii.c net: qcom/emac: add an error interrupt handler for the sgmii 2017-01-29 19:07:02 -05:00
emac-sgmii.h net: qcom/emac: add an error interrupt handler for the sgmii 2017-01-29 19:07:02 -05:00
emac.c net: qcom/emac: add an error interrupt handler for the sgmii 2017-01-29 19:07:02 -05:00
emac.h net: qcom/emac: remove extraneous wake-on-lan code 2017-01-29 19:07:02 -05:00
Makefile net: qcom/emac: add ethtool support 2017-01-10 13:26:25 -05:00