Date: Wed, 01 Dec 1999 22:22:23 -0700 From: Warner Losh <imp@village.org> To: 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 Message-ID: <199912020522.WAA06774@harmony.village.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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912020522.WAA06774>