diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1994-10-04 06:45:57 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1994-10-04 06:45:57 +0000 |
commit | 56f4ab7d4cddd64b1926f18e74920934085c6675 (patch) | |
tree | 68480a7455ed3c8b40616ba818eb06c563b2fde5 | |
parent | 22ae4f18c6970733c125d40f05d076885e6d182c (diff) | |
download | FreeBSD-src-56f4ab7d4cddd64b1926f18e74920934085c6675.zip FreeBSD-src-56f4ab7d4cddd64b1926f18e74920934085c6675.tar.gz |
In sd_get_params() the timeout for the MODE_SENSE command was too
short. I changed it from 2000 to 4000 and now my disk works fine.
Submitted by: John Hay <jhay@mikom.csir.co.za>
-rw-r--r-- | sys/scsi/sd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/sd.c b/sys/scsi/sd.c index 9c26926..e71f997 100644 --- a/sys/scsi/sd.c +++ b/sys/scsi/sd.c @@ -14,7 +14,7 @@ * * Ported to run under 386BSD by Julian Elischer (julian@dialix.oz.au) Sept 1992 * - * $Id: sd.c,v 1.31 1994/09/28 20:16:44 se Exp $ + * $Id: sd.c,v 1.32 1994/10/04 06:39:27 rgrimes Exp $ */ #define SPLSD splbio @@ -860,7 +860,7 @@ sd_get_parms(unit, flags) (u_char *) & scsi_sense, sizeof(scsi_sense), SD_RETRIES, - 2000, + 4000, NULL, flags | SCSI_DATA_IN) != 0) { |