aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/tmscsim.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/tmscsim.c')
-rw-r--r--drivers/scsi/tmscsim.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/scsi/tmscsim.c b/drivers/scsi/tmscsim.c
index 6369f9a282f1..844c9a048c00 100644
--- a/drivers/scsi/tmscsim.c
+++ b/drivers/scsi/tmscsim.c
@@ -2185,9 +2185,16 @@ static int dc390_slave_configure(struct scsi_device *sdev)
2185 struct dc390_dcb *dcb = (struct dc390_dcb *)sdev->hostdata; 2185 struct dc390_dcb *dcb = (struct dc390_dcb *)sdev->hostdata;
2186 2186
2187 acb->scan_devices = 0; 2187 acb->scan_devices = 0;
2188
2189 /*
2190 * XXX: Note that while this driver used to called scsi_activate_tcq,
2191 * it never actually set a tag type, so emulate the old behavior.
2192 */
2193 scsi_set_tag_type(sdev, 0);
2194
2188 if (sdev->tagged_supported && (dcb->DevMode & TAG_QUEUEING_)) { 2195 if (sdev->tagged_supported && (dcb->DevMode & TAG_QUEUEING_)) {
2189 dcb->SyncMode |= EN_TAG_QUEUEING; 2196 dcb->SyncMode |= EN_TAG_QUEUEING;
2190 scsi_adjust_queue_depth(sdev, 0, acb->TagMaxNum); 2197 scsi_adjust_queue_depth(sdev, acb->TagMaxNum);
2191 } 2198 }
2192 2199
2193 return 0; 2200 return 0;