send SFB_BUS_RESET to HBA driver
int sdi_bus_reset(struct scsi_adr *sap, struct sb *sbp);
sends an SFB_BUS_RESET function
to the HBA driver that corresponds to sap.
Prior to doing this,
it sends SFB_SUSPEND to all Logical Units on the bus.
to wait for 4 seconds,
giving devices time to fully reset.
After this timeout period passes,
SFB_RESUME is sent
to all Logical Units on the bus
that are not waiting to be serviced by
the error recovery gauntlet.
SCSI bus to be reset
partially completed command block
to be sent to HBA driver
The normal return is SDI_RET_OK.
Any other return value indicates a failure.
is used by target drivers
as part of error recovery.
It must only be called from the target driver's
error recovery routine as a result of a corresponding
sbp is assumed to have its
sf_dev filled out
with the SCSI address to which
the SFB_BUS_RESET should be sent.
sbp->SFB.sf_func must be set to the function
to be called upon completion.
Context and synchronization
Driver-defined basic locks, read/write locks, and sleep
locks can be held across calls to this function.
``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