send SFB_DEVICE_RESET to HBA driver
int sdi_device_reset(struct scsi_adr *sap, struct sb *sbp);
an SFB_DEVICE_RESET function
to the HBA driver corresponding to sap.
Prior to doing this,
it sends SFB_SUSPEND
to all Logical Units on the target.
it calls the
function to wait for 4 seconds,
giving devices tie to fully reset.
After this timeout period passes,
SFB_RESUME is sent
to all Logical Units that are not waiting
to be serviced by the error recovery gauntlet.
SCSI target 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 is only called from the target driver's error recovery routine
as a result of a corresponding
Context and synchronization
Does not sleep.
Driver-defined basic locks, read/write locks, and sleep
locks can be held across calls to this function.
using ddi: 7, 7mp, 8, 8mp.
Differences between versions
In SDI versions prior to version 4,
function is cast as an int.
``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