PCMCIA bug in 2.6.11rc2

From: Josh Green
Date: Thu Feb 03 2005 - 00:18:03 EST


I found a bug in drivers/pcmcia/ds.c for version 2.6.11rc2 (from
linux-mips CVS) that was causing initialization problems with the second
card when I had two PCMCIA wireless cards in my AMD Alchemy DB1100
board. Here is the patch:

--- ds.c.orig 2005-01-13 06:06:18.000000000 -0800
+++ ds.c 2005-02-02 11:58:29.000000000 -0800
@@ -660,7 +660,7 @@
p_dev = pcmcia_get_dev(p_dev);
if (!p_dev)
continue;
- if ((!p_dev->client.state & CLIENT_UNBOUND) ||
+ if (!(p_dev->client.state & CLIENT_UNBOUND) ||
(!p_dev->dev.driver)) {
pcmcia_put_dev(p_dev);
continue;


Here is a link to the bitkeeper change that caused this:

http://linux.bkbits.net:8080/linux-2.6/diffs/drivers/pcmcia/ds.c@xxxx?nav=index.html|src/|src/drivers|src/drivers/pcmcia|hist/drivers/pcmcia/ds.c

Please CC any responses to me, as I am not on the list.
Best regards,
Josh Green

Attachment: signature.asc
Description: This is a digitally signed message part