udi_scsi_bind_ack(3udi)


Acknowledge a SCSI bind request (HD-to-PD)

SYNOPSIS

#include <udi.h>

void udi_scsi_bind_ack (

	udi_scsi_bind_cb_t *cb,

	udi_ubit32_t hd_timeout_increase,

	udi_status_t status );
 

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

hd_timeout_increase is the time in milliseconds by which the PD must increase its request timeouts to account for the HD's interconnect type to the PD. Failure to add this hd_timeout_increase value to the PD's device-specific timeout request may result in requests being timed out unnecessarily and in inordinate amounts.

status is the status of this SCSI bind.

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

DESCRIPTION The udi_scsi_bind_ack operation is used by an HD to acknowledge binding with a child PD (or failure to do so, as indicated by status), as requested by a udi_scsi_bind_req operation.

STATUS VALUES UDI_OK indicates that the SCSI bind succeeded.

UDI_STAT_BOUND_EXCLUSIVELY  is returned by the HD to the PD to reject a bind because the device is bound exclusively by another PD and cannot therefore be bound by this PD.

UDI_STAT_CANNOT_BIND_EXCLUSIVE  is returned by the HD to the PD to reject a UDI_SCSI_BIND_EXCLUSIVE bind when one or more PDs are already bound to this device and cannot therefore be bound exclusively.

UDI_STAT_CANNOT_BIND  indicates that the HD cannot bind to this PD for some reason other than exclusivity.

UDI_STAT_ATTR_MISMATCH  indicates that the HD cannot adhere to one or more of the per-PD (parent-visible) attribute settings.

warnings The control block must be the same control block as passed to the HD in the corresponding udi_scsi_bind_req operation.

REFERENCES udi_scsi_bind_cb_t, udi_scsi_bind_req


UDI SCSI Driver Specification Contents