public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Russell King <rmk@arm.linux.org.uk>
To: Wiktor Wodecki <wodecki@gmx.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Still problems with PCMCIA in 2.5.72
Date: Tue, 17 Jun 2003 09:59:16 +0100	[thread overview]
Message-ID: <20030617095916.B25452@flint.arm.linux.org.uk> (raw)
In-Reply-To: <20030617084622.GA623@gmx.de>; from wodecki@gmx.de on Tue, Jun 17, 2003 at 10:46:23AM +0200

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


  reply	other threads:[~2003-06-17  8:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-17  8:46 Still problems with PCMCIA in 2.5.72 Wiktor Wodecki
2003-06-17  8:59 ` Russell King [this message]
2003-06-17  9:28   ` Wiktor Wodecki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030617095916.B25452@flint.arm.linux.org.uk \
    --to=rmk@arm.linux.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wodecki@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox