Re: 2.5.71 go boom

Russell King (rmk@arm.linux.org.uk)
Mon, 16 Jun 2003 21:27:00 +0100


On Mon, Jun 16, 2003 at 09:15:06PM +0200, Peter Lundkvist wrote:
> Tested with the following versions (exactly the same behaviour):
> 2.5.69-bk10
>
> 2.5.69-bk9 was OK.

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/