udi_scsi_unbind_req(3udi)


Request a SCSI unbind (PD-to-HD)

SYNOPSIS

#include <udi.h>

void udi_scsi_unbind_req (

	udi_scsi_bind_cb_t *cb );
 

ARGUMENTS cb is a pointer to a SCSI bind control block.

TARGET CHANNEL The target channel for this operation is the bind channel connecting a SCSI PD to its parent HD.

DESCRIPTION A SCSI PD uses this operation to unbind from its parent HD.

The PD must prepare for the udi_scsi_unbind_req operation by allocating a SCSI bind control block (calling udi_cb_alloc with a cb_idx that was previously associated with UDI_SCSI_BIND_CB_NUM). Next, the PD fills in the control block and sends it to the HD in a udi_scsi_unbind_req operation.

The PD may follow a SCSI unbind with another SCSI bind; the SCSI unbind in and of itself is not necessarily indicative of the PD instance going away.

REFERENCES udi_scsi_bind_cb_t, udi_scsi_unbind_ack


UDI SCSI Driver Specification Contents