public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2.5] pcmcia: don't inform "driver services" of cardbus-related events
@ 2003-03-28 19:02 Dominik Brodowski
  0 siblings, 0 replies; only message in thread
From: Dominik Brodowski @ 2003-03-28 19:02 UTC (permalink / raw)
  To: rmk; +Cc: linux-kernel

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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-03-28 19:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-28 19:02 [PATCH 2.5] pcmcia: don't inform "driver services" of cardbus-related events Dominik Brodowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox