summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2007-09-12 13:42:49 +0000
committerdlg <dlg@openbsd.org>2007-09-12 13:42:49 +0000
commit4a7ab628f8df025af0278f33cc157c84112d2598 (patch)
tree97dc5665ff27ffa0cd61e464d1e3a9e5719811a7
parentInitial port of Sepherosa Ziehau's DragonFlyBSD driver (diff)
downloadwireguard-openbsd-4a7ab628f8df025af0278f33cc157c84112d2598.tar.xz
wireguard-openbsd-4a7ab628f8df025af0278f33cc157c84112d2598.zip
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;