de-register a Host Bus Adapter (HBA) with SDI
int sdi_deregister(HBA_IDATA_STRUCT *idata);
deregisters a controller instance associated with
This routine removes all the devices connected to this
the equipped device table (EDT).
pointer to idata structure for the specific device being
sdi_deregister returns 0 on success
and returns EINVAL on failure.
sdi_deregister fails if a device cannot be removed
because the device is busy (currently opened)
or the target driver does not support hot removal of a device.
is called by an HBA driver
to de-register a controller instance
in preparation for unloading either
the HBA driver or the controller.
Context and synchronization
Driver-defined basic locks, read/write locks, and sleep locks
cannot be held across calls to this function.
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005