aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_scsi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_scsi.c')
-rw-r--r--drivers/scsi/lpfc/lpfc_scsi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c
index a24106a70968..8533ee9b818d 100644
--- a/drivers/scsi/lpfc/lpfc_scsi.c
+++ b/drivers/scsi/lpfc/lpfc_scsi.c
@@ -320,7 +320,7 @@ lpfc_change_queue_depth(struct scsi_device *sdev, int qdepth, int reason)
320 case SCSI_QDEPTH_DEFAULT: 320 case SCSI_QDEPTH_DEFAULT:
321 /* change request from sysfs, fall through */ 321 /* change request from sysfs, fall through */
322 case SCSI_QDEPTH_RAMP_UP: 322 case SCSI_QDEPTH_RAMP_UP:
323 scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); 323 scsi_adjust_queue_depth(sdev, qdepth);
324 break; 324 break;
325 case SCSI_QDEPTH_QFULL: 325 case SCSI_QDEPTH_QFULL:
326 if (scsi_track_queue_full(sdev, qdepth) == 0) 326 if (scsi_track_queue_full(sdev, qdepth) == 0)
@@ -5598,7 +5598,7 @@ lpfc_slave_configure(struct scsi_device *sdev)
5598 struct lpfc_vport *vport = (struct lpfc_vport *) sdev->host->hostdata; 5598 struct lpfc_vport *vport = (struct lpfc_vport *) sdev->host->hostdata;
5599 struct lpfc_hba *phba = vport->phba; 5599 struct lpfc_hba *phba = vport->phba;
5600 5600
5601 scsi_adjust_queue_depth(sdev, 0, vport->cfg_lun_queue_depth); 5601 scsi_adjust_queue_depth(sdev, vport->cfg_lun_queue_depth);
5602 5602
5603 if (phba->cfg_poll & ENABLE_FCP_RING_POLLING) { 5603 if (phba->cfg_poll & ENABLE_FCP_RING_POLLING) {
5604 lpfc_sli_handle_fast_ring_event(phba, 5604 lpfc_sli_handle_fast_ring_event(phba,