linux-stable/drivers/net/ethernet
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
..
3com net: 3com: typhoon: typhoon_init_one: make return values more specific 2016-12-30 15:26:22 -05:00
8390 Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
adaptec Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
adi
aeroflex
agere
alacritech net: make ndo_get_stats64 a void function 2017-01-08 17:51:44 -05:00
allwinner
alteon Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
altera
amazon net: make ndo_get_stats64 a void function 2017-01-08 17:51:44 -05:00
amd Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-01-28 10:33:06 -05:00
apm net: remove useless memset's in drivers get_stats64 2017-01-08 17:51:44 -05:00
apple
aquantia net: ethernet: aquantia: return -ETIME in macro AQ_HW_WAIT_FOR 2017-01-29 18:24:00 -05:00
arc
atheros Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-01-28 10:33:06 -05:00
aurora
broadcom Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-01-28 10:33:06 -05:00
brocade net: make ndo_get_stats64 a void function 2017-01-08 17:51:44 -05:00
cadence macb: Common code to enable ptp support for MACB/GEM 2017-01-19 11:45:54 -05:00
calxeda net: make ndo_get_stats64 a void function 2017-01-08 17:51:44 -05:00
cavium liquidio: Avoid accessing skb after submitting to input queue 2017-01-26 15:42:18 -05:00
chelsio cxgb4: hide unused warnings 2017-01-20 11:16:57 -05:00
cirrus
cisco net: make ndo_get_stats64 a void function 2017-01-08 17:51:44 -05:00
davicom
dec net: dec: winbond-840: use new api ethtool_{get|set}_link_ksettings 2017-01-02 16:59:10 -05:00
dlink net: dlink: sundance: use new api ethtool_{get|set}_link_ksettings 2017-01-02 16:59:10 -05:00
emulex Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-01-17 15:19:37 -05:00
ezchip
faraday net: faraday: ftmac100: use new api ethtool_{get|set}_link_ksettings 2017-01-02 16:59:10 -05:00
freescale Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-01-28 10:33:06 -05:00
fujitsu Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
hisilicon net: Remove usage of net_device last_rx member 2017-01-18 17:22:49 -05:00
hp
i825xx
ibm Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-01-28 10:33:06 -05:00
intel net: Remove usage of net_device last_rx member 2017-01-18 17:22:49 -05:00
marvell net: Remove usage of net_device last_rx member 2017-01-18 17:22:49 -05:00
mediatek Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-01-28 10:33:06 -05:00
mellanox Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-01-28 10:33:06 -05:00
micrel net: ks8851: Drop eeprom_size structure member 2017-01-24 14:56:44 -05:00
microchip
moxa net: moxa: constify net_device_ops structures 2017-01-23 15:58:49 -05:00
myricom net: make ndo_get_stats64 a void function 2017-01-08 17:51:44 -05:00
natsemi Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
neterion net: make ndo_get_stats64 a void function 2017-01-08 17:51:44 -05:00
netronome bpf: add initial bpf tracepoints 2017-01-25 13:17:47 -05:00
nuvoton
nvidia net: make ndo_get_stats64 a void function 2017-01-08 17:51:44 -05:00
nxp
oki-semi
packetengines Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
pasemi
qlogic Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-01-28 10:33:06 -05:00
qualcomm net: qcom/emac: add an error interrupt handler for the sgmii 2017-01-29 19:07:02 -05:00
rdc
realtek net: Remove usage of net_device last_rx member 2017-01-18 17:22:49 -05:00
renesas ravb: Support 1Gbps on R-Car H3 ES1.1+ and R-Car M3-W 2017-01-29 18:35:43 -05:00
rocker
samsung net: make ndo_get_stats64 a void function 2017-01-08 17:51:44 -05:00
seeq
sfc sfc: insert catch-all filters for encapsulated traffic 2017-01-27 11:59:31 -05:00
sgi Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
silan
sis Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
smsc net: Remove usage of net_device last_rx member 2017-01-18 17:22:49 -05:00
stmicro net: stmmac: dwmac-meson8b: make the RGMII TX delay configurable 2017-01-24 13:35:40 -05:00
sun net: make ndo_get_stats64 a void function 2017-01-08 17:51:44 -05:00
tehuti
ti net: ethernet: ti: cpsw: clarify ethtool ops changing num of descs 2017-01-20 12:35:10 -05:00
tile tilepro: Fix non-void return from void function 2017-01-12 15:14:09 -05:00
toshiba
tundra
via net: make ndo_get_stats64 a void function 2017-01-08 17:51:44 -05:00
wiznet
xilinx net: xilinx: constify net_device_ops structure 2017-01-23 15:58:49 -05:00
xircom Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
xscale
dnet.c
dnet.h
ec_bhf.c net: make ndo_get_stats64 a void function 2017-01-08 17:51:44 -05:00
ethoc.c net: ethoc: Make needlessly global struct ethtool_ops static 2017-01-17 15:50:56 -05:00
fealnx.c net: fealnx: use new api ethtool_{get|set}_link_ksettings 2017-01-02 16:59:10 -05:00
jme.c net: jme: use new api ethtool_{get|set}_link_ksettings 2017-01-17 11:44:27 -05:00
jme.h net: jme: use new api ethtool_{get|set}_link_ksettings 2017-01-17 11:44:27 -05:00
Kconfig net: ethernet: aquantia: Integrate AQtion 2.5/5 GB NIC driver 2017-01-24 15:03:41 -05:00
korina.c net: korina: use new api ethtool_{get|set}_link_ksettings 2017-01-17 11:44:27 -05:00
lantiq_etop.c
Makefile net: ethernet: aquantia: Integrate AQtion 2.5/5 GB NIC driver 2017-01-24 15:03:41 -05:00
netx-eth.c