From 357415eaa6be3eac0a7fb6050ae119b935660026 Mon Sep 17 00:00:00 2001 From: mjacob Date: Tue, 7 Nov 2006 05:51:40 +0000 Subject: Fix the hanging chad if the NEW_TRAN_CODE change and change the qualifier to force async from cur_spi to spi. --- sys/cam/cam_xpt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/cam') diff --git a/sys/cam/cam_xpt.c b/sys/cam/cam_xpt.c index 93e8947..b745fd6 100644 --- a/sys/cam/cam_xpt.c +++ b/sys/cam/cam_xpt.c @@ -6403,8 +6403,8 @@ xpt_set_transfer_settings(struct ccb_trans_settings *cts, struct cam_ed *device, && (inq_data->flags & SID_Sync) == 0 && cts->type == CTS_TYPE_CURRENT_SETTINGS) || ((cpi.hba_inquiry & PI_SDTR_ABLE) == 0) - || (cur_spi->sync_offset == 0) - || (cur_spi->sync_period == 0)) { + || (spi->sync_offset == 0) + || (spi->sync_period == 0)) { /* Force async */ spi->sync_period = 0; spi->sync_offset = 0; -- cgit v1.1