summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2009-11-26 21:26:10 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2009-11-26 21:26:10 +0000
commitf1d883ed899181343afc25b33819d94b452d91ab (patch)
tree19f887cb399ee8301564823dbf7e96e0943eae3d
parent1d319478b053e76b7fa915c20c8ecda14714419f (diff)
Don't try to be clever and mix tag queueing mechanisms. Few if any
disks actually do queueing correctly. Keep it SIMPLE. Fixes naddy@'s magic DNES disks on siop even if dlg@'s new midlayer is active. ok marco@, tested by naddy@.
-rw-r--r--sys/dev/ic/siop.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/sys/dev/ic/siop.c b/sys/dev/ic/siop.c
index 6c412294d61..7ca0b9fcaa1 100644
--- a/sys/dev/ic/siop.c
+++ b/sys/dev/ic/siop.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: siop.c,v 1.54 2009/11/22 14:14:10 krw Exp $ */
+/* $OpenBSD: siop.c,v 1.55 2009/11/26 21:26:09 krw Exp $ */
/* $NetBSD: siop.c,v 1.79 2005/11/18 23:10:32 bouyer Exp $ */
/*
@@ -1652,13 +1652,7 @@ again:
sc->sc_c.sc_dev.dv_xname, target, lun, tag,
msgcount);
#endif
- if (siop_cmd->cmd_c.xs->bp != NULL &&
- (siop_cmd->cmd_c.xs->bp->b_flags & B_ASYNC))
- siop_cmd->cmd_tables->msg_out[1] =
- MSG_SIMPLE_Q_TAG;
- else
- siop_cmd->cmd_tables->msg_out[1] =
- MSG_ORDERED_Q_TAG;
+ siop_cmd->cmd_tables->msg_out[1] = MSG_SIMPLE_Q_TAG;
siop_cmd->cmd_tables->msg_out[2] = tag;
siop_cmd->cmd_tables->t_msgout.count =
siop_htoc32(&sc->sc_c, 3);