diff options
author | mjacob <mjacob@FreeBSD.org> | 2006-11-07 05:51:40 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2006-11-07 05:51:40 +0000 |
commit | 357415eaa6be3eac0a7fb6050ae119b935660026 (patch) | |
tree | 0e5fbad692eb2e8677eeafbef6df1b5b635db797 /sys | |
parent | 4fdb31ed2488b67fda65dab50b3b9b0c49c2d915 (diff) | |
download | FreeBSD-src-357415eaa6be3eac0a7fb6050ae119b935660026.zip FreeBSD-src-357415eaa6be3eac0a7fb6050ae119b935660026.tar.gz |
Fix the hanging chad if the NEW_TRAN_CODE change and change the
qualifier to force async from cur_spi to spi.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/cam/cam_xpt.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |