Re: 2.5.71 go boom

Peter Lundkvist (p.lundkvist@telia.com)
Tue, 17 Jun 2003 07:43:56 +0200


Russell King wrote:
> 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)

A quick test with this patch against 2.5.71: Works OK now!

Thank you

Peter

-
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/