]> git.hungrycats.org Git - linux/commit
[PATCH] 8139too: Rx fifo/overflow recovery
authorAndrew Morton <akpm@osdl.org>
Tue, 24 Aug 2004 19:34:00 +0000 (15:34 -0400)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 24 Aug 2004 19:34:00 +0000 (15:34 -0400)
commit4f3cf06df28794b3e28191a61c5b7efa4c2f65c2
tree2ef77eae2bb36bf9b9a8f28233c23015436c0431
parent8294586090786577c5bf4ce18451033ac2f616f0
[PATCH] 8139too: Rx fifo/overflow recovery

From: Francois Romieu <romieu@fr.zoreil.com>

This patch allows to update the interrupt status register after an Rx
overflow or a Rx fifo error even when the Rx buffer contains no packet.
The update must be kept in the packet processing loop to prevent an Rx
error storm.  As an interesting behavior, the status of the interrupt
status register must not be read early.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
drivers/net/8139too.c