Commit 282af720 authored by Jeff Garzik's avatar Jeff Garzik

Fix natsemi net driver rx-related hang, by polling for RX events

on all RX interrupts.  Prior to this fix, RX FIFO overrun and RX
buffer overrun interrupts did not trigger an RX poll; now they do.

Contributor: Manfred Spraul
parent a2c0a16a
......@@ -1515,7 +1515,7 @@ static void intr_handler(int irq, void *dev_instance, struct pt_regs *rgs)
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) ) {
......
Markdown is supported
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