Date: Thu, 7 Dec 2006 22:01:04 GMT From: Matt Jacob <mjacob@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 111261 for review Message-ID: <200612072201.kB7M14ja074423@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=111261 Change 111261 by mjacob@newisp on 2006/12/07 22:00:04 *Cough* - put back tagged command support for SAS && FC cards. Affected files ... .. //depot/projects/newisp/dev/mpt/mpt_cam.c#20 edit Differences ... ==== //depot/projects/newisp/dev/mpt/mpt_cam.c#20 (text+ko) ==== @@ -3089,8 +3089,9 @@ break; } case XPT_GET_TRAN_SETTINGS: + { cts = &ccb->cts; - cts->protocol = PROTO_SCSI; + struct ccb_trans_settings_scsi *scsi; if (mpt->is_fc) { struct ccb_trans_settings_fc *fc = &cts->xport_specific.fc; @@ -3108,13 +3109,21 @@ cts->transport_version = 0; sas->valid = CTS_SAS_VALID_SPEED; sas->bitrate = 300000; - } else if (mpt_get_spi_settings(mpt, cts) != 0) { - mpt_set_ccb_status(ccb, CAM_REQ_CMP_ERR); + } else { + if (mpt_get_spi_settings(mpt, cts) != 0) { + mpt_set_ccb_status(ccb, CAM_REQ_CMP_ERR); + } else { + mpt_set_ccb_status(ccb, CAM_REQ_CMP); + } break; } + cts->protocol = PROTO_SCSI; + scsi = &cts->proto_specific.scsi; + scsi->valid = CTS_SCSI_VALID_TQ; + scsi->flags = CTS_SCSI_FLAGS_TAG_ENB; mpt_set_ccb_status(ccb, CAM_REQ_CMP); break; - + } case XPT_CALC_GEOMETRY: { struct ccb_calc_geometry *ccg;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612072201.kB7M14ja074423>