From owner-freebsd-mobile Thu Dec 2 8:14:44 1999 Delivered-To: freebsd-mobile@freebsd.org Received: from ns.mt.sri.com (ns.mt.sri.com [206.127.79.91]) by hub.freebsd.org (Postfix) with ESMTP id BAFFE14BD7 for ; Thu, 2 Dec 1999 08:14:40 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.9.3/8.9.3) with SMTP id JAA15444; Thu, 2 Dec 1999 09:14:27 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id JAA05474; Thu, 2 Dec 1999 09:14:26 -0700 Date: Thu, 2 Dec 1999 09:14:26 -0700 Message-Id: <199912021614.JAA05474@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Warner Losh Cc: mobile@FreeBSD.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 In-Reply-To: <199912020522.WAA06774@harmony.village.org> References: <199912020057.RAA05497@harmony.village.org> <199912020044.QAA03272@mass.cdrom.com> <199912020522.WAA06774@harmony.village.org> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@mt.sri.com (Nate Williams) 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. Sort of. If I remember correctly, you can respond with 'give me another moment' so you can hold off the suspend for a bit, as long as you *respond* to the supend request. (However, 30 seconds is a *VERY* long time). Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message