diff options
-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); /* |