summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2015-09-02 12:24:14 +0300
committerDavid S. Miller <davem@davemloft.net>2015-09-03 02:06:04 +0300
commited63f1dcd5788d36f942fbcce350742385e3e18c (patch)
tree8a2c40da6ea2b2ed860c78675eb024c8ca9ad938 /include/uapi
parente41b0bedba0293b9e1e8d1e8ed553104b9693656 (diff)
downloadlinux-ed63f1dcd5788d36f942fbcce350742385e3e18c.tar.xz
net: fec: clear receive interrupts before processing a packet
The patch just to re-submit the patch "db3421c114cfa6326" because the patch "4d494cdc92b3b9a0" remove the change. Clear any pending receive interrupt before we process a pending packet. This helps to avoid any spurious interrupts being raised after we have fully cleaned the receive ring, while still allowing an interrupt to be raised if we receive another packet. The position of this is critical: we must do this prior to reading the next packet status to avoid potentially dropping an interrupt when a packet is still pending. Acked-by: Fugang Duan <B38611@freescale.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions