Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Dec 1999 09:14:26 -0700
From:      Nate Williams <nate@mt.sri.com>
To:        Warner Losh <imp@village.org>
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 
Message-ID:  <199912021614.JAA05474@mt.sri.com>
In-Reply-To: <199912020522.WAA06774@harmony.village.org>
References:  <199912020057.RAA05497@harmony.village.org> <199912020044.QAA03272@mass.cdrom.com> <199912020522.WAA06774@harmony.village.org>

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.

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912021614.JAA05474>