summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/mvme88k/dev/vs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/mvme88k/dev/vs.c b/sys/arch/mvme88k/dev/vs.c
index 9b7b251f298..7bb1c517e22 100644
--- a/sys/arch/mvme88k/dev/vs.c
+++ b/sys/arch/mvme88k/dev/vs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vs.c,v 1.57 2005/12/27 21:38:13 miod Exp $ */
+/* $OpenBSD: vs.c,v 1.58 2005/12/27 22:05:27 miod Exp $ */
/*
* Copyright (c) 2004, Miodrag Vallat.
@@ -360,12 +360,13 @@ vs_scsicmd(struct scsi_xfer *xs)
struct vs_cb *cb;
u_int queue;
+ flags = xs->flags;
+
queue = flags & SCSI_POLL ? 0 : vs_queue_number(slp, sc);
cb = &sc->sc_cb[queue];
if (cb->cb_xs != NULL)
return (TRY_AGAIN_LATER);
- flags = xs->flags;
if (flags & SCSI_POLL) {
cqep = sh_MCE;
iopb = sh_MCE_IOPB;