netdev
[Top] [All Lists]

[PATCH 2.6.3] pcnet32.c fix compile error

To: tsbogend@xxxxxxxxxxxxxxxx, jgarzik@xxxxxxxxx, netdev@xxxxxxxxxxx
Subject: [PATCH 2.6.3] pcnet32.c fix compile error
From: Don Fry <brazilnut@xxxxxxxxxx>
Date: Fri, 20 Feb 2004 16:43:54 -0800 (PST)
Sender: netdev-bounce@xxxxxxxxxxx
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@xxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH 2.6.3] pcnet32.c fix compile error, Don Fry <=