On 02/19/10 11:01 AM, Josh Morris wrote:
OK I verified that the quiesce() entry point is being called. I'm not
sure how I missed that. Thanks for the help!
Interesting. Does your driver set dev_ops.devo_quiesce?
-Josh
John Martin wrote:
On 02/18/10 05:46 PM, Josh Morris wrote:
Hello list,
I have written a device driver for a NAND flash disk for
OpenSolaris. On a safe system shutdown the driver needs to issue a
shutdown command to the disk. I am having problems finding what
mechanisms are available for accomplishing this in my driver. It
doesn't look the detach() function is called on a system shutdown
and I have been unable to find any other driver entry points that
are called on a shutdown. ....
Is the driver attached the system shutdown happens?
If fast reboot is enabled (default) your driver may only
receive a quiesce(9E) call. Is this a character driver and
if so, what does your dev_ops structure look like?
_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss