DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

_unload(D2sdi)


_unload -- prepare to unload a driver

Synopsis

See _unload(D2) for synopsis and general usage information about this entry point routine.

Usage

HBA drivers should verify that there are no outstanding requests for any devices it controls, then call the drv_detach(D3) function to deregister the driver. Code to free resources should be put into the CFG_SUSPEND and/or CFG_REMOVE subfunctions to the config(D2sdi) entry point, which is called when the system is shutdown or a hotplug device is removed from the system as well as when the driver is demand unloaded.

Applicable hardware

All

References

config(D2sdi), _load(D2sdi), _unload(D2),

``Dynamically-loadable kernel modules (DLKM)'' in HDK Technical Reference


19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005