Great, this helps a lot. While I remove the bullet from my foot, could
you test this patch please?
--- linux/drivers/pcmcia/cs.c.old Mon Jun 16 21:17:45 2003
+++ linux/drivers/pcmcia/cs.c Mon Jun 16 21:24:23 2003
@@ -817,7 +817,8 @@
if ((skt->state & SOCKET_PRESENT) &&
!(status & SS_DETECT))
socket_shutdown(skt);
- if (status & SS_DETECT)
+ if (!(skt->state & SOCKET_PRESENT) &&
+ status & SS_DETECT)
socket_insert(skt);
}
if (events & SS_BATDEAD)
-- Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux http://www.arm.linux.org.uk/personal/aboutme.html- 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/