Commit 32737e93 authored by Mark Lord's avatar Mark Lord Committed by David S. Miller
Browse files

PATCH: b44 Handle RX FIFO overflow better (simplified)

This patch is a simplified version of the original patch from James Courtier-Dutton.

>From: James Courtier-Dutton
>Subject: [PATCH] Fix b44 RX FIFO overflow recovery.
>Date: Wednesday, June 30, 2010 - 1:11 pm
>This patch improves the recovery after a RX FIFO overflow on the b44
>Ethernet NIC.
>Before it would do a complete chip reset, resulting is loss of link
>for a few seconds.
>This patch improves this to do recovery in about 20ms without loss of link.
>Signed off by:

Signed-off-by: default avatarMark Lord <>
Signed-off-by: default avatarDavid S. Miller <>
parent cf9b94f8
......@@ -848,6 +848,15 @@ static int b44_poll(struct napi_struct *napi, int budget)
/* spin_unlock(&bp->tx_lock); */
if (bp->istat & ISTAT_RFO) { /* fast recovery, in ~20msec */
bp->istat &= ~ISTAT_RFO;
ssb_device_enable(bp->sdev, 0); /* resets ISTAT_RFO */
b44_init_hw(bp, B44_FULL_RESET_SKIP_PHY);
spin_unlock_irqrestore(&bp->lock, flags);
work_done = 0;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment