diff options
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_os.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_os.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 1e34fcf68e77..eb0465305f8d 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c | |||
@@ -269,6 +269,7 @@ struct scsi_host_template qla2xxx_driver_template = { | |||
269 | .shost_attrs = qla2x00_host_attrs, | 269 | .shost_attrs = qla2x00_host_attrs, |
270 | 270 | ||
271 | .supported_mode = MODE_INITIATOR, | 271 | .supported_mode = MODE_INITIATOR, |
272 | .use_blk_tags = 1, | ||
272 | }; | 273 | }; |
273 | 274 | ||
274 | static struct scsi_transport_template *qla2xxx_transport_template = NULL; | 275 | static struct scsi_transport_template *qla2xxx_transport_template = NULL; |
@@ -1404,10 +1405,7 @@ qla2xxx_slave_configure(struct scsi_device *sdev) | |||
1404 | if (IS_T10_PI_CAPABLE(vha->hw)) | 1405 | if (IS_T10_PI_CAPABLE(vha->hw)) |
1405 | blk_queue_update_dma_alignment(sdev->request_queue, 0x7); | 1406 | blk_queue_update_dma_alignment(sdev->request_queue, 0x7); |
1406 | 1407 | ||
1407 | if (sdev->tagged_supported) | 1408 | scsi_adjust_queue_depth(sdev, 0, req->max_q_depth); |
1408 | scsi_activate_tcq(sdev, req->max_q_depth); | ||
1409 | else | ||
1410 | scsi_deactivate_tcq(sdev, req->max_q_depth); | ||
1411 | return 0; | 1409 | return 0; |
1412 | } | 1410 | } |
1413 | 1411 | ||