diff options
author | mjacob <mjacob@FreeBSD.org> | 2006-12-09 01:30:05 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2006-12-09 01:30:05 +0000 |
commit | d2d2e316d0d84378c9eccebaf9f6f9132bf63e4d (patch) | |
tree | 0edbb7f0a86cb63de7aaa8bf434f7160f74a18b8 /sys/dev/isp/isp_freebsd.c | |
parent | 2df82cb38b803ef371319f32f9c104429e65c46c (diff) | |
download | FreeBSD-src-d2d2e316d0d84378c9eccebaf9f6f9132bf63e4d.zip FreeBSD-src-d2d2e316d0d84378c9eccebaf9f6f9132bf63e4d.tar.gz |
Find another spot where tagged command queueing got
accidentally nuked.
Diffstat (limited to 'sys/dev/isp/isp_freebsd.c')
-rw-r--r-- | sys/dev/isp/isp_freebsd.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/dev/isp/isp_freebsd.c b/sys/dev/isp/isp_freebsd.c index e3c8d91..cc2bc76 100644 --- a/sys/dev/isp/isp_freebsd.c +++ b/sys/dev/isp/isp_freebsd.c @@ -2744,6 +2744,8 @@ isp_action(struct cam_sim *sim, union ccb *ccb) CAMLOCK_2_ISPLOCK(isp); if (IS_FC(isp)) { fcparam *fcp = isp->isp_param; + struct ccb_trans_settings_scsi *scsi = + &cts->proto_specific.scsi; struct ccb_trans_settings_fc *fc = &cts->xport_specific.fc; @@ -2752,11 +2754,14 @@ isp_action(struct cam_sim *sim, union ccb *ccb) cts->transport = XPORT_FC; cts->transport_version = 0; + scsi->valid = CTS_SCSI_VALID_TQ; + scsi->flags = CTS_SCSI_FLAGS_TAG_ENB; fc->valid = CTS_FC_VALID_SPEED; - if (fcp->isp_gbspeed == 2) + if (fcp->isp_gbspeed == 2) { fc->bitrate = 200000; - else + } else { fc->bitrate = 100000; + } if (tgt > 0 && tgt < MAX_FC_TARG) { fcportdb_t *lp = &fcp->portdb[tgt]; fc->wwnn = lp->node_wwn; |