From owner-freebsd-mobile Wed Nov 10 14: 6:32 1999 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 EAF7C14E3C; Wed, 10 Nov 1999 14:06:25 -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 PAA97938; Wed, 10 Nov 1999 15:06:23 -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 PAA07865; Wed, 10 Nov 1999 15:05:28 -0700 (MST) Message-Id: <199911102205.PAA07865@harmony.village.org> To: MIHIRA Sanpei Yoshiro Subject: Re: PC-Card ejection(suspend) with 4-current Cc: current@FreeBSD.ORG, mobile@FreeBSD.ORG In-reply-to: Your message of "Wed, 10 Nov 1999 23:00:46 +0900." <199911101400.XAA12524@lavender.yy.cs.keio.ac.jp> References: <199911101400.XAA12524@lavender.yy.cs.keio.ac.jp> Date: Wed, 10 Nov 1999 15:05:28 -0700 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <199911101400.XAA12524@lavender.yy.cs.keio.ac.jp> MIHIRA Sanpei Yoshiro-san writes: : I think FreeBSD-4-current does not support PC-Card suspend yet. Yes. That's correct. I broke it when I did my last batch of newbus code. : I read and diffed old code and current code. But I did not find : out anything.... : : Does someone create patch for this problem? No yet. I slightly rearranged the order and timing of events in the eject (and suspend) paths of the code. Effectively, I've managed to make the device go away from a hardware point of view before I've removed the device from the software tree and stopped delivering interrupts to it, so it gets an interrupt once the hardware is gone. I've diagnosed it this far, but haven't looked at the code to find out why it is doing this or how to fix it. I basically screwed up Nate's efforts which made the suspend code 99% safe... :-( I would welcome with open arms patches to fix this problem... : # or we need to rewrite and maintain pccard code(/sys/dev/pccard)? That's the real answer. Anybody willing to help, please let me know. I have probe/attach code for the pcic code (in /sys/dev/pcic) going, but I've not hooked up the pccard stuff to it. My work on this is on hold for the moment until my Sony VAIO gets back from Sony... Hopefully by Friday when I head off for the weekend... Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message