Re: [PATCH] Rx FIFO Overrun error found

From: Manfred Spraul (manfred@colorfullife.com)
Date: Mon Jan 14 2002 - 11:32:02 EST


Jeff Garzik wrote:
>
> and it would be preferred to separate "add oom handling" and "fix nic
> hang" patches.
>
Attached is the patch against the nic hang. Now all rx error bits
trigger netdev_rx - it doesn't hurt and could catch further hardware
oddities.

--
	Manfred

--- 2.5/drivers/net/natsemi.c Fri Nov 23 20:35:23 2001 +++ build-2.5/drivers/net/natsemi.c Mon Jan 14 16:56:22 2002 @@ -1508,7 +1508,7 @@ if (intr_status == 0) break; - if (intr_status & (IntrRxDone | IntrRxIntr)) + if (intr_status & (IntrRxDone | IntrRxIntr | RxStatusFIFOOver | IntrRxErr | IntrRxOverrun )) netdev_rx(dev); if (intr_status & (IntrTxDone | IntrTxIntr | IntrTxIdle | IntrTxErr) ) {

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jan 15 2002 - 21:00:46 EST