summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>1994-12-22 21:18:48 +0000
committerse <se@FreeBSD.org>1994-12-22 21:18:48 +0000
commita23f1625b243d7121569026efa7e1ae004b94f9f (patch)
tree3a525511ad9e3192072d5fa9ff7e7a8a23a016f8 /sys
parentad03fd1aa192db2fa705853fcbf3fb6b33795c5a (diff)
downloadFreeBSD-src-a23f1625b243d7121569026efa7e1ae004b94f9f.zip
FreeBSD-src-a23f1625b243d7121569026efa7e1ae004b94f9f.tar.gz
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>
Diffstat (limited to 'sys')
-rw-r--r--sys/scsi/sd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/sd.c b/sys/scsi/sd.c
index cfcf3ed..1a8ec4c 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.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 ! */
OpenPOWER on IntegriCloud