diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2014-03-08 16:34:30 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2014-03-08 16:34:30 +0000 |
commit | bdebdd73cf84c7b3ad27375d36ec08e675574145 (patch) | |
tree | a8106a0c7d4f486607db948980f18fc36f82150d /sys | |
parent | 50e76ea0549aa7b11814b996d49a468508286302 (diff) |
Enable tagged queueing.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/qlw.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/ic/qlw.c b/sys/dev/ic/qlw.c index 4425b59384e..3c956925003 100644 --- a/sys/dev/ic/qlw.c +++ b/sys/dev/ic/qlw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: qlw.c,v 1.6 2014/03/08 16:04:02 kettenis Exp $ */ +/* $OpenBSD: qlw.c,v 1.7 2014/03/08 16:34:29 kettenis Exp $ */ /* * Copyright (c) 2011 David Gwynne <dlg@openbsd.org> @@ -1275,6 +1275,9 @@ qlw_put_cmd(struct qlw_softc *sc, void *buf, struct scsi_xfer *xs, } } + if (sc->sc_running && (xs->sc_link->quirks & SDEV_NOTAGS) == 0) + dir |= QLW_IOCB_CMD_SIMPLE_QUEUE; + req->req_flags = htole16(dir); /* |