Messages in this thread Patch in this message |  | | | Date | Sun, 31 Oct 2010 16:15:26 +0800 | | Subject | PATCH : linux-2.6.35.4 drivers pcmcia cs.c | | From | guillermo arias <> |
| |
summary:enable cardbus cards in IBM ThinkPad 770Z
Signed-off-by:G. Arias R.<papaguillee18@gmail.com> Date:Sun Oct 31 03:31:28 GMT-8 2010 --------------------------------------------------- --- /src/linux-2.6.35.4/drivers/pcmcia/cs.c.orig 2010-10-29 09:51:04.000000000 +0800 +++ /src/linux-2.6.35.4/drivers/pcmcia/cs.c 2010-10-01 20:54:04.000000000 +0800 @@ -396,7 +396,7 @@ static int socket_setup(struct pcmcia_so }
if (status & SS_CARDBUS) { - if (!(skt->features & SS_CAP_CARDBUS)) { + if (!(skt->features || SS_CAP_CARDBUS)) { dev_printk(KERN_ERR, &skt->dev, "cardbus cards are not supported.\n"); return -EINVAL;
|  |