Skip to contentSkip to conversation

PCMCIA bug in 2.6.11rc2

PATCH Josh Green 1 participant 1 message Feb 3, 2005

lore
Share & tools
lore

Josh Green

author
#0 lore raw

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 2005-02-02 11:58:29.000000000 -0800 renamed from ds.c.orig 2005-01-13 06:06:18.000000000 -0800 +1 -1
@@ -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/[email protected]?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