/* Return value: 0 - Device is ready. 1 - Device NOT ready.  */
static int scsi_eh_try_stu(struct scsi_cmnd *scmd)
/* Return value: 0 - Device is ready. 1 - Device NOT ready.  */
static int scsi_eh_try_stu(struct scsi_cmnd *scmd)
{
	static unsigned char stu_command[6] = {START_STOP, 0, 0, 0, 1, 0};
	if (scmd->device->allow_restart) {
		int i, rtn = NEEDS_RETRY;
		for (i = 0; rtn == NEEDS_RETRY && i < 2; i++)
			rtn = scsi_send_eh_cmnd(scmd, stu_command, 6, scmd->device->request_queue->rq_timeout, 0);
		if (rtn == SUCCESS)
			return 0;
	}
	return 1;
}