Messages in this thread Patch in this message | ![/](/images/icornerl.gif) | | Subject | PCMCIA bug in 2.6.11rc2 | From | Josh Green <> | Date | Wed, 02 Feb 2005 21:14:28 -0800 |
| |
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@1.99?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
[unhandled content-type:application/pgp-signature] | ![\](/images/icornerr.gif) |