summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2009-11-26 21:26:09 +0000
committerkrw <krw@openbsd.org>2009-11-26 21:26:09 +0000
commit52bf53205b2a41f19ae16a5964e9885c320c26c8 (patch)
treeaacea6020e0c3c38c29815dd9448e6c1407b822a
parentRename a variable to something more helpful. (diff)
downloadwireguard-openbsd-52bf53205b2a41f19ae16a5964e9885c320c26c8.tar.xz
wireguard-openbsd-52bf53205b2a41f19ae16a5964e9885c320c26c8.zip
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);