Messages in this thread Patch in this message | | | Date | Fri, 28 Mar 2003 20:02:58 +0100 | From | Dominik Brodowski <> | Subject | [PATCH 2.5] pcmcia: don't inform "driver services" of cardbus-related events |
| |
Untested due to lack of CardBus card...
diff -ruN linux-original/drivers/pcmcia/cs.c linux/drivers/pcmcia/cs.c --- linux-original/drivers/pcmcia/cs.c 2003-03-28 19:59:53.000000000 +0100 +++ linux/drivers/pcmcia/cs.c 2003-03-28 19:59:17.000000000 +0100 @@ -647,6 +647,8 @@ DEBUG(1, "cs: send_event(sock %d, event %d, pri %d)\n", s->sock, event, priority); ret = 0; + if (s->state & SOCKET_CARDBUS) + return 0; for (; client; client = client->next) { if (client->state & (CLIENT_UNBOUND|CLIENT_STALE)) continue; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |