/* scsi_try_host_reset - ask host adapter to reset itself @scmd: SCSI cmd to send hsot reset.  */
static int scsi_try_host_reset(struct scsi_cmnd *scmd)
/* scsi_try_host_reset - ask host adapter to reset itself @scmd: SCSI cmd to send hsot reset.  */
static int scsi_try_host_reset(struct scsi_cmnd *scmd)
{
	unsigned long flags;
	int rtn;
	SCSI_LOG_ERROR_RECOVERY(3, printk("%s: Snd Host RST\n",
					  __func__));
	if (!scmd->device->host->hostt->eh_host_reset_handler)
		return FAILED;
	rtn = scmd->device->host->hostt->eh_host_reset_handler(scmd);
	if (rtn == SUCCESS) {
		if (!scmd->device->host->hostt->skip_settle_delay)
			ssleep(HOST_RESET_SETTLE_TIME);
		spin_lock_irqsave(scmd->device->host->host_lock, flags);
		scsi_report_bus_reset(scmd->device->host,
				      scmd_channel(scmd));
		spin_unlock_irqrestore(scmd->device->host->host_lock, flags);
	}
	return rtn;
}