summaryrefslogtreecommitdiffstats
path: root/sys/cam/cam_xpt.c
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>2000-10-31 17:59:43 +0000
committergibbs <gibbs@FreeBSD.org>2000-10-31 17:59:43 +0000
commitb864109b241bc2b1625aac9dcd8c1423ece15b94 (patch)
treec4a9206cf5fc5027c4b3bac2b9115d3c90b04740 /sys/cam/cam_xpt.c
parent7b37df0fa5f50406d5f5e36ebd1ded053e54032d (diff)
downloadFreeBSD-src-b864109b241bc2b1625aac9dcd8c1423ece15b94.zip
FreeBSD-src-b864109b241bc2b1625aac9dcd8c1423ece15b94.tar.gz
Allow async transfer negotiation updates to modify tagging behavior.
The XPT uses this to prevent tags from being used on parallel SCSI interfaces immediately after a bus reset or BDR so that controllers have an oportunity to renegotiate without tag messages in the way. Somehow this got disabled... the functionality has been here for quite some time. Noticed by: my SCSI bus analyzer
Diffstat (limited to 'sys/cam/cam_xpt.c')
-rw-r--r--sys/cam/cam_xpt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/cam/cam_xpt.c b/sys/cam/cam_xpt.c
index ad65b71..ee56251 100644
--- a/sys/cam/cam_xpt.c
+++ b/sys/cam/cam_xpt.c
@@ -5873,9 +5873,7 @@ xpt_set_transfer_settings(struct ccb_trans_settings *cts, struct cam_ed *device,
}
qfrozen = FALSE;
- if ((cts->valid & CCB_TRANS_TQ_VALID) != 0
- && (async_update == FALSE)) {
- int device_tagenb;
+ if ((cts->valid & CCB_TRANS_TQ_VALID) != 0) {
/*
* If we are transitioning from tags to no-tags or
OpenPOWER on IntegriCloud