Re: Sun GEM card looses TX on x86 32bit PCI

David S. Miller (davem@redhat.com)
Mon, 11 Mar 2002 04:21:24 -0800 (PST)


From: Beezly <beezly@beezly.org.uk>
Date: 11 Mar 2002 12:19:24 +0000

I managed to run the latest patch, but it appears to Oops when the
overflow condition occurs. Sadly I was not able to get the output of the
oops... but it was at exactly the same time that I was run my "test"
which causes the RX to halt.

Duh, this will fix it:

--- drivers/net/sungem.c.~1~ Mon Mar 11 04:18:58 2002
+++ drivers/net/sungem.c Mon Mar 11 04:24:13 2002
@@ -317,7 +317,7 @@
}

/* Second, disable RX DMA. */
- writel(0, RXDMA_CFG);
+ writel(0, gp->regs + RXDMA_CFG);
for (limit = 0; limit < 5000; limit++) {
if (!(readl(gp->regs + RXDMA_CFG) & RXDMA_CFG_ENABLE))
break;
-
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/