aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi/scsi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/scsi/scsi.h')
-rw-r--r--include/scsi/scsi.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/scsi/scsi.h b/include/scsi/scsi.h
index 1d54c063ae52..3507b3d7c0eb 100644
--- a/include/scsi/scsi.h
+++ b/include/scsi/scsi.h
@@ -360,6 +360,15 @@ struct scsi_lun {
360#define sense_error(sense) ((sense) & 0xf) 360#define sense_error(sense) ((sense) & 0xf)
361#define sense_valid(sense) ((sense) & 0x80); 361#define sense_valid(sense) ((sense) & 0x80);
362 362
363/*
364 * default timeouts
365*/
366#define FORMAT_UNIT_TIMEOUT (2 * 60 * 60 * HZ)
367#define START_STOP_TIMEOUT (60 * HZ)
368#define MOVE_MEDIUM_TIMEOUT (5 * 60 * HZ)
369#define READ_ELEMENT_STATUS_TIMEOUT (5 * 60 * HZ)
370#define READ_DEFECT_DATA_TIMEOUT (60 * HZ )
371
363 372
364#define IDENTIFY_BASE 0x80 373#define IDENTIFY_BASE 0x80
365#define IDENTIFY(can_disconnect, lun) (IDENTIFY_BASE |\ 374#define IDENTIFY(can_disconnect, lun) (IDENTIFY_BASE |\