summaryrefslogtreecommitdiff
path: root/sys/dev/ic/aic79xx_openbsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/aic79xx_openbsd.c')
-rw-r--r--sys/dev/ic/aic79xx_openbsd.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/sys/dev/ic/aic79xx_openbsd.c b/sys/dev/ic/aic79xx_openbsd.c
index b011aa0dd16..2f969240b5a 100644
--- a/sys/dev/ic/aic79xx_openbsd.c
+++ b/sys/dev/ic/aic79xx_openbsd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aic79xx_openbsd.c,v 1.17 2004/12/24 22:17:56 krw Exp $ */
+/* $OpenBSD: aic79xx_openbsd.c,v 1.18 2004/12/27 21:34:42 krw Exp $ */
/*
* Copyright (c) 2004 Milos Urbanek, Kenneth R. Westerback & Marco Peereboom
@@ -361,7 +361,7 @@ ahd_action(struct scsi_xfer *xs)
quirks = xs->sc_link->quirks;
- if ((quirks & SDEV_NOTAGS) == 0 ||
+ if ((quirks & SDEV_NOTAGS) != 0 ||
(tinfo->curr.ppr_options & MSG_EXT_PPR_PROT_IUS) != 0)
col_idx = AHD_NEVER_COL_IDX;
else
@@ -471,14 +471,6 @@ ahd_execute_scb(void *arg, bus_dma_segment_t *dm_segs, int nsegments)
if ((tstate->tagenable & mask) != 0)
scb->hscb->control |= TAG_ENB;
- /* disable tags and disconection to work around overlapped commands
- * for non U320 devices
- */
- if ((tinfo->curr.ppr_options & MSG_EXT_PPR_PROT_IUS) == 0) {
- scb->hscb->control &= ~TAG_ENB;
- scb->hscb->control &= ~DISCENB;
- }
-
if ((tinfo->curr.ppr_options & MSG_EXT_PPR_PROT_IUS) != 0) {
scb->flags |= SCB_PACKETIZED;
if (scb->hscb->task_management != 0)