[PATCH 2.6.3] pcnet32.c fix compile error
From: Don Fry <hidden>
Date: 2004-02-21 00:43:54
From: Don Fry <hidden>
Date: 2004-02-21 00:43:54
Arrgh. I sent the wrong diff file. This one fixes the compile error I introduced ;-(
--- linux-2.6.3/drivers/net/arrgh.pcnet32.c Fri Feb 20 16:39:22 2004
+++ linux-2.6.3/drivers/net/pcnet32.c Fri Feb 20 15:52:32 2004@@ -1518,7 +1518,7 @@ rap = lp->a.read_rap(ioaddr); while ((csr0 = lp->a.read_csr (ioaddr, 0)) & 0x8600 && --boguscnt >= 0) { - if (csr == 0xffff) { + if (csr0 == 0xffff) { break; /* PCMCIA remove happened */ } /* Acknowledge all of the current interrupt sources ASAP. */
--
Don Fry
brazilnut@us.ibm.com