summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2007-09-12 13:42:50 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2007-09-12 13:42:50 +0000
commitd8d7fbeace64e8463fc32293c332c5397d1a2a59 (patch)
tree07a66bf26c37838ecf18e23a201a6d0bb7873083
parent6b45c6ea3bffd9b3e3aec4e58947a65c60d88f39 (diff)
always tag fibre channel commands.
ok marco@
-rw-r--r--sys/dev/ic/mpi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/ic/mpi.c b/sys/dev/ic/mpi.c
index 85685454b58..91fcce392a6 100644
--- a/sys/dev/ic/mpi.c
+++ b/sys/dev/ic/mpi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpi.c,v 1.88 2007/09/11 13:39:33 gilles Exp $ */
+/* $OpenBSD: mpi.c,v 1.89 2007/09/12 13:42:49 dlg Exp $ */
/*
* Copyright (c) 2005, 2006 David Gwynne <dlg@openbsd.org>
@@ -1051,7 +1051,8 @@ mpi_scsi_cmd(struct scsi_xfer *xs)
break;
}
- if (link->quirks & SDEV_NOTAGS)
+ if (sc->sc_porttype != MPI_PORTFACTS_PORTTYPE_SCSI &&
+ (link->quirks & SDEV_NOTAGS))
io->tagging = MPI_SCSIIO_ATTR_UNTAGGED;
else
io->tagging = MPI_SCSIIO_ATTR_SIMPLE_Q;