PERFORCE change 111307 for review

Matt Jacob mjacob at FreeBSD.org
Fri Dec 8 17:30:49 PST 2006


http://perforce.freebsd.org/chv.cgi?CH=111307

Change 111307 by mjacob at newisp on 2006/12/09 01:30:28

	Fix tagged queueing nukage.

Affected files ...

.. //depot/projects/newisp/dev/isp/isp_freebsd.c#33 edit

Differences ...

==== //depot/projects/newisp/dev/isp/isp_freebsd.c#33 (text+ko) ====

@@ -2744,6 +2744,8 @@
 		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 @@
 			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;


More information about the p4-projects mailing list