summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2000-03-13 16:30:00 +0000
committermjacob <mjacob@FreeBSD.org>2000-03-13 16:30:00 +0000
commit4db73ccd6bf92c74250ba40de6927ea476faab5f (patch)
tree9e44e7c0f260bcb4e800e1eb180c5b66b703edc6
parentc1d8282de33a8c245808aedbbf1ffb76eec62ea7 (diff)
downloadFreeBSD-src-4db73ccd6bf92c74250ba40de6927ea476faab5f.zip
FreeBSD-src-4db73ccd6bf92c74250ba40de6927ea476faab5f.tar.gz
Don't do bus resets for ULTRA2 or later cards because what seems to
happen currently is that several commands issued *after* the bus reset are then reported destroyed.
-rw-r--r--sys/dev/isp/isp_freebsd.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/isp/isp_freebsd.c b/sys/dev/isp/isp_freebsd.c
index f7319e6..ac6a4b7 100644
--- a/sys/dev/isp/isp_freebsd.c
+++ b/sys/dev/isp/isp_freebsd.c
@@ -1651,7 +1651,10 @@ printf("notify ack\n");
sdparam *sdp = isp->isp_param;
sdp += cam_sim_bus(xpt_path_sim(cpi->ccb_h.path));
cpi->hba_inquiry = PI_SDTR_ABLE|PI_TAG_ABLE|PI_WIDE_16;
- cpi->hba_misc = 0;
+ if (IS_ULTRA2(isp))
+ cpi->hba_misc = PIM_NOBUSRESET;
+ else
+ cpi->hba_misc = 0;
cpi->initiator_id = sdp->isp_initiator_id;
cpi->base_transfer_speed = 3300;
}
OpenPOWER on IntegriCloud