DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

sdi_end_gauntlet(D3sdi)


sdi_end_gauntlet -- signal error recovery has completed for job

Synopsis

   #include <sys/sdi.h>
   

void sdi_end_gauntlet(struct scsi_adr *sap);

Description

sdi_end_gauntlet( ) is called to signal that the job in the error recovery gauntlet for the SCSI address pointed to by sap has completed the recovery process. If there are no more jobs in the gauntlet for sap, an SFB_RESUME is issued to the HBA driver for sap. The next job waiting to enter the gauntlet on this bus is started by calling its target driver function passed to sdi_start_gauntlet(D3sdi).

Arguments


sap
the SCSI address of the device to which the job in the error recovery gauntlet had been sent.

Usage

sdi_end_gauntlet( ) must be called only from the target driver's error recovery routine as a result of a corresponding sdi_start_gauntlet(D3sdi) call.

Context and synchronization

Blockable context.

Synchronization constraints

Does not sleep.

Driver-defined basic locks, read/write locks, and sleep locks can be held across calls to this function.

Applicable hardware

All

Version applicability

sdi: 3, 4 target drivers.

References

sdi_bus_reset(D3sdi), sdi_device_reset(D3sdi), sdi_start_gauntlet(D3sdi)

``SDI bus timeout/reset recovery'' in HDK Technical Reference


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