summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2004-06-22 00:50:58 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2004-06-22 00:50:58 +0000
commit8bb84d11902c2c8c8c50e9f3c5d3d452408e0be6 (patch)
treeefa233d683f7575b5b6e7aa85f829d722c859299
parent2d753af24bc569d8c4842a6b59dab9a521acc7a7 (diff)
Add additional retries in TUR to allow for tape devices to settle after a reset.
More informative failure message and silence "already open" message. ok krw@
-rw-r--r--sys/scsi/scsiconf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/scsi/scsiconf.h b/sys/scsi/scsiconf.h
index dcb3eca85f2..9bb123397e7 100644
--- a/sys/scsi/scsiconf.h
+++ b/sys/scsi/scsiconf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsiconf.h,v 1.45 2004/05/17 23:57:51 krw Exp $ */
+/* $OpenBSD: scsiconf.h,v 1.46 2004/06/22 00:50:57 marco Exp $ */
/* $NetBSD: scsiconf.h,v 1.35 1997/04/02 02:29:38 mycroft Exp $ */
/*
@@ -315,6 +315,7 @@ struct scsi_xfer {
*/
#define TEST_READY_RETRIES_DEFAULT 5
#define TEST_READY_RETRIES_CD 10
+#define TEST_READY_RETRIES_TAPE 60
const void *scsi_inqmatch(struct scsi_inquiry_data *, const void *, int,
int, int *);