svn commit: r189244 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/ciss dev/cxgb

Scott Long scottl at FreeBSD.org
Sun Mar 1 08:43:47 PST 2009


Author: scottl
Date: Sun Mar  1 16:43:45 2009
New Revision: 189244
URL: http://svn.freebsd.org/changeset/base/189244

Log:
  Merge 188845: Fix pseudo-scsi parameters so that more than 2 commands
  will be queued to the device at once.

Modified:
  stable/7/sys/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)
  stable/7/sys/dev/ath/ath_hal/   (props changed)
  stable/7/sys/dev/ciss/ciss.c
  stable/7/sys/dev/cxgb/   (props changed)

Modified: stable/7/sys/dev/ciss/ciss.c
==============================================================================
--- stable/7/sys/dev/ciss/ciss.c	Sun Mar  1 16:41:48 2009	(r189243)
+++ stable/7/sys/dev/ciss/ciss.c	Sun Mar  1 16:43:45 2009	(r189244)
@@ -2696,8 +2696,8 @@ ciss_cam_action(struct cam_sim *sim, uni
     {
 	struct ccb_trans_settings	*cts = &ccb->cts;
 	int				bus, target;
-	struct ccb_trans_settings_spi *spi =
-	    &cts->xport_specific.spi;
+	struct ccb_trans_settings_spi *spi = &cts->xport_specific.spi;
+	struct ccb_trans_settings_scsi *scsi = &cts->proto_specific.scsi;
 
 	bus = cam_sim_bus(sim);
 	target = cts->ccb_h.target_id;
@@ -2712,6 +2712,9 @@ ciss_cam_action(struct cam_sim *sim, uni
 	spi->valid = CTS_SPI_VALID_DISC;
 	spi->flags = CTS_SPI_FLAGS_DISC_ENB;
 
+	scsi->valid = CTS_SCSI_VALID_TQ;
+	scsi->flags = CTS_SCSI_FLAGS_TAG_ENB;
+
 	cts->ccb_h.status = CAM_REQ_CMP;
 	break;
     }


More information about the svn-src-all mailing list