Commit 716d3bc5030bf916b4eea15c7c00c95329f2cda4
Committed by
James Bottomley
1 parent
9a803a7449
Exists in
smarc-imx_3.14.28_1.0.0_ga
and in
1 other branch
[SCSI] lpfc 8.3.42: Fixed not able to log informational messages at early stage of driver init time
Signed-off-by: James Smart <james.smart@emulex.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Showing 1 changed file with 3 additions and 9 deletions Side-by-side Diff
drivers/scsi/lpfc/lpfc_init.c
... | ... | @@ -4859,6 +4859,9 @@ |
4859 | 4859 | struct lpfc_mqe *mqe; |
4860 | 4860 | int longs; |
4861 | 4861 | |
4862 | + /* Get all the module params for configuring this host */ | |
4863 | + lpfc_get_cfgparam(phba); | |
4864 | + | |
4862 | 4865 | /* Before proceed, wait for POST done and device ready */ |
4863 | 4866 | rc = lpfc_sli4_post_status_check(phba); |
4864 | 4867 | if (rc) |
... | ... | @@ -4902,15 +4905,6 @@ |
4902 | 4905 | sizeof(struct lpfc_mbox_ext_buf_ctx)); |
4903 | 4906 | INIT_LIST_HEAD(&phba->mbox_ext_buf_ctx.ext_dmabuf_list); |
4904 | 4907 | |
4905 | - /* | |
4906 | - * We need to do a READ_CONFIG mailbox command here before | |
4907 | - * calling lpfc_get_cfgparam. For VFs this will report the | |
4908 | - * MAX_XRI, MAX_VPI, MAX_RPI, MAX_IOCB, and MAX_VFI settings. | |
4909 | - * All of the resources allocated | |
4910 | - * for this Port are tied to these values. | |
4911 | - */ | |
4912 | - /* Get all the module params for configuring this host */ | |
4913 | - lpfc_get_cfgparam(phba); | |
4914 | 4908 | phba->max_vpi = LPFC_MAX_VPI; |
4915 | 4909 | |
4916 | 4910 | /* This will be set to correct value after the read_config mbox */ |