Added SCSI_DATA_OUT to flags passed to the device driver in sd_dump()

since device drivers may decide not to accept a data out phase without
this flag present.
Submitted by:	Wolfgang Stanglmeier <wolf@dentaro.GUN.de>
This commit is contained in:
Stefan Eßer 1994-12-22 21:18:48 +00:00
parent 59d8d13f60
commit 68d2fa1f21

View File

@ -14,7 +14,7 @@
*
* Ported to run under 386BSD by Julian Elischer (julian@dialix.oz.au) Sept 1992
*
* $Id: sd.c,v 1.43 1994/12/03 22:52:57 phk Exp $
* $Id: sd.c,v 1.44 1994/12/16 06:03:24 phk Exp $
*/
#define SPLSD splbio
@ -1132,7 +1132,7 @@ sddump(dev_t dev)
* to wait for an xs.
*/
bzero(xs, sizeof(sx));
xs->flags |= SCSI_NOMASK | SCSI_NOSLEEP | INUSE;
xs->flags |= SCSI_NOMASK | SCSI_NOSLEEP | INUSE | SCSI_DATA_OUT;
xs->sc_link = sd->sc_link;
xs->retries = SD_RETRIES;
xs->timeout = 10000; /* 10000 millisecs for a disk ! */