lkml.org 
[lkml]   [2003]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Still problems with PCMCIA in 2.5.72
Yes, this patch helps. I can insert/remove the card at will without
problems. Thank you.

On Tue, Jun 17, 2003 at 09:59:16AM +0100, Russell King wrote:
> On Tue, Jun 17, 2003 at 10:46:23AM +0200, Wiktor Wodecki wrote:
> > there are still issues with pcmcia in 2.5 series.
>
> I believe I have them all sorted. However, I only received confirmation
> that the latest problem was solved this morning.
>
> It appears that some cardbus bridges don't properly debounce the card
> detect signals from the sockets, which sounds similar to the problem
> you're reporting. Could you check whether this patch solves your issue?
>
> diff -Nru a/drivers/pcmcia/cs.c b/drivers/pcmcia/cs.c
> --- a/drivers/pcmcia/cs.c Tue Jun 17 09:16:20 2003
> +++ b/drivers/pcmcia/cs.c Tue Jun 17 09:16:20 2003
> @@ -816,7 +816,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

--
Regards,

Wiktor Wodecki
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.042 / U:0.640 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site