aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_init.c')
-rw-r--r--drivers/scsi/lpfc/lpfc_init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c
index 02268a1eec69..6932657d74ad 100644
--- a/drivers/scsi/lpfc/lpfc_init.c
+++ b/drivers/scsi/lpfc/lpfc_init.c
@@ -4931,7 +4931,8 @@ lpfc_sli4_read_config(struct lpfc_hba *phba)
4931 phba->vpi_base = phba->sli4_hba.max_cfg_param.vpi_base; 4931 phba->vpi_base = phba->sli4_hba.max_cfg_param.vpi_base;
4932 phba->vfi_base = phba->sli4_hba.max_cfg_param.vfi_base; 4932 phba->vfi_base = phba->sli4_hba.max_cfg_param.vfi_base;
4933 phba->sli4_hba.next_rpi = phba->sli4_hba.max_cfg_param.rpi_base; 4933 phba->sli4_hba.next_rpi = phba->sli4_hba.max_cfg_param.rpi_base;
4934 phba->max_vpi = phba->sli4_hba.max_cfg_param.max_vpi; 4934 phba->max_vpi = (phba->sli4_hba.max_cfg_param.max_vpi > 0) ?
4935 (phba->sli4_hba.max_cfg_param.max_vpi - 1) : 0;
4935 phba->max_vports = phba->max_vpi; 4936 phba->max_vports = phba->max_vpi;
4936 lpfc_printf_log(phba, KERN_INFO, LOG_SLI, 4937 lpfc_printf_log(phba, KERN_INFO, LOG_SLI,
4937 "2003 cfg params XRI(B:%d M:%d), " 4938 "2003 cfg params XRI(B:%d M:%d), "