diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2004-12-27 21:34:43 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2004-12-27 21:34:43 +0000 |
commit | c11e624119eaf661c820ea19b69a437e8ec0b83f (patch) | |
tree | 8005ba6f0b509278ad136c8f7d2cd916f9a644f7 /sys/dev/ic | |
parent | 46c30d4a399f499a342a15f45269d8fe17496f2a (diff) |
Fix tag handling for non-U320/packetized devices. Allow tags for these
devices.
Tidy up man page, remove lies and cruft.
ok marco@.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/aic79xx_openbsd.c | 12 |
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) |