PATCH : linux-2.6.35.4 drivers pcmcia cs.c

From: guillermo arias
Date: Sun Oct 31 2010 - 04:16:42 EST


summary:enable cardbus cards in IBM ThinkPad 770Z

Signed-off-by:G. Arias R.<papaguillee18@xxxxxxxxx>
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;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/