diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2006-07-15 04:09:58 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2006-07-15 04:09:58 +0000 |
commit | b3d241c02db3e2e144b38230c2f894df72426378 (patch) | |
tree | 0959ed6161f14ae3f9a55e644b0f5a9e14d60c4a | |
parent | 4d3e5c134db020777977b2f23a97279f971acde2 (diff) |
set the tags on the scsi command according to what the midlayer says they
should be.
-rw-r--r-- | sys/dev/ic/mpi.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/ic/mpi.c b/sys/dev/ic/mpi.c index aff8981889d..301ae5044b7 100644 --- a/sys/dev/ic/mpi.c +++ b/sys/dev/ic/mpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpi.c,v 1.62 2006/07/15 03:59:50 dlg Exp $ */ +/* $OpenBSD: mpi.c,v 1.63 2006/07/15 04:09:57 dlg Exp $ */ /* * Copyright (c) 2005, 2006 David Gwynne <dlg@openbsd.org> @@ -1151,6 +1151,11 @@ mpi_scsi_cmd(struct scsi_xfer *xs) break; } + if (link->quirks & SDEV_NOTAGS) + io->tagging = MPI_SCSIIO_ATTR_UNTAGGED; + else + io->tagging = MPI_SCSIIO_ATTR_SIMPLE_Q; + bcopy(xs->cmd, io->cdb, xs->cmdlen); io->data_length = htole32(xs->datalen); |