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>
This commit is contained in:
parent
bb4a6b1e84
commit
d655715898
@ -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) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user