From: Don Fry Date: Tue, 24 Feb 2004 14:29:26 +0000 (-0500) Subject: [PATCH] pcnet32.c fix compile error X-Git-Tag: v2.6.4-rc1~63^2 X-Git-Url: http://git.neil.brown.name/?a=commitdiff_plain;h=62d9097699ec6d4b14b03599741344aa0bc5a8f2;p=history.git [PATCH] pcnet32.c fix compile error Arrgh. I sent the wrong diff file. This one fixes the compile error I introduced ;-( --- diff --git a/drivers/net/pcnet32.c b/drivers/net/pcnet32.c index 74af820eb3fe..f7da45b36f4a 100644 --- a/drivers/net/pcnet32.c +++ b/drivers/net/pcnet32.c @@ -1518,7 +1518,7 @@ pcnet32_interrupt(int irq, void *dev_id, struct pt_regs * regs) 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. */