From owner-freebsd-mobile Wed Jan 26 16:31:43 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 0B4B115494 for ; Wed, 26 Jan 2000 16:31:38 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id RAA02197; Wed, 26 Jan 2000 17:31:36 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id RAA04501; Wed, 26 Jan 2000 17:31:14 -0700 (MST) Message-Id: <200001270031.RAA04501@harmony.village.org> To: Mitsuru IWASAKI Subject: Re: pc card removal lockup Cc: gallatin@cs.duke.edu, freebsd-mobile@FreeBSD.ORG In-reply-to: Your message of "Thu, 27 Jan 2000 05:51:30 +0900." <200001262051.FAA29546@tasogare.imasy.or.jp> References: <200001262051.FAA29546@tasogare.imasy.or.jp> <14479.6481.98047.430229@grasshopper.cs.duke.edu> Date: Wed, 26 Jan 2000 17:31:14 -0700 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <200001262051.FAA29546@tasogare.imasy.or.jp> Mitsuru IWASAKI writes: : On first removal failure, it seems our driver lost interrupt, then : regain it by suspending/resuming... just guess. : Anyway, could you try this patch? : : Index: pccard.c : =================================================================== : RCS file: /home/ncvs/src/sys/pccard/pccard.c,v : retrieving revision 1.104 : diff -u -r1.104 pccard.c : --- pccard.c 2000/01/16 06:44:45 1.104 : +++ pccard.c 2000/01/26 20:29:26 : @@ -338,7 +338,10 @@ : */ : if (slt->state == filled) { : slt->state = empty; : +#if 0 : disable_slot_spl0(slt); : +#endif : + disable_slot_to(slt); : } : break; : case card_inserted: I don't think that this will fix it. I'll give it a try locally... Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message