From owner-freebsd-mobile Wed Dec 1 21:22:56 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 F22D814A03 for ; Wed, 1 Dec 1999 21:22:48 -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 WAA16018 for ; Wed, 1 Dec 1999 22:22: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 WAA06774 for ; Wed, 1 Dec 1999 22:22:23 -0700 (MST) Message-Id: <199912020522.WAA06774@harmony.village.org> Subject: Re: cvs commit: src/sys/pccard pccard.c src/sys/isa sio.c src/sys/dev/ed if_ed_pccard.c src/sys/dev/ep if_ep_pccard.c To: mobile@FreeBSD.ORG In-reply-to: Your message of "Wed, 01 Dec 1999 17:57:07 MST." <199912020057.RAA05497@harmony.village.org> References: <199912020057.RAA05497@harmony.village.org> <199912020044.QAA03272@mass.cdrom.com> Date: Wed, 01 Dec 1999 22:22:23 -0700 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <199912020057.RAA05497@harmony.village.org> Warner Losh writes: : Agreed. However, the only way that it can do this currently is to : block in detach until all references to softc have gone out of scope. One thing to keep in mind is that if detach doesn't return for a while, it may cause weird things to happen on a battery level or other urgent induced suspend. The way the current old pccard code does a suspend is to detach the device. The BIOS will force the shutdown if the machine doesn't respond within 30 seconds to the suspend request by suspending the machine. At least APM seems to mandate this behavior (well, it allows the BIOS to go ahead with an urgent suspend if the host OS doesn't respond quickly enough). Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message