diff options
author | James Smart <james.smart@emulex.com> | 2013-09-06 12:18:28 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-09-10 18:28:24 -0400 |
commit | 716d3bc5030bf916b4eea15c7c00c95329f2cda4 (patch) | |
tree | 712b38006e658830563b000e02a6e04de7474ce9 | |
parent | 9a803a7449b6c713ca1323fb59692aa3645860b1 (diff) |
[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>
-rw-r--r-- | drivers/scsi/lpfc/lpfc_init.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c index 501147c4a147..b94420b3817a 100644 --- a/drivers/scsi/lpfc/lpfc_init.c +++ b/drivers/scsi/lpfc/lpfc_init.c | |||
@@ -4859,6 +4859,9 @@ lpfc_sli4_driver_resource_setup(struct lpfc_hba *phba) | |||
4859 | struct lpfc_mqe *mqe; | 4859 | struct lpfc_mqe *mqe; |
4860 | int longs; | 4860 | int longs; |
4861 | 4861 | ||
4862 | /* Get all the module params for configuring this host */ | ||
4863 | lpfc_get_cfgparam(phba); | ||
4864 | |||
4862 | /* Before proceed, wait for POST done and device ready */ | 4865 | /* Before proceed, wait for POST done and device ready */ |
4863 | rc = lpfc_sli4_post_status_check(phba); | 4866 | rc = lpfc_sli4_post_status_check(phba); |
4864 | if (rc) | 4867 | if (rc) |
@@ -4902,15 +4905,6 @@ lpfc_sli4_driver_resource_setup(struct lpfc_hba *phba) | |||
4902 | sizeof(struct lpfc_mbox_ext_buf_ctx)); | 4905 | sizeof(struct lpfc_mbox_ext_buf_ctx)); |
4903 | INIT_LIST_HEAD(&phba->mbox_ext_buf_ctx.ext_dmabuf_list); | 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 | phba->max_vpi = LPFC_MAX_VPI; | 4908 | phba->max_vpi = LPFC_MAX_VPI; |
4915 | 4909 | ||
4916 | /* This will be set to correct value after the read_config mbox */ | 4910 | /* This will be set to correct value after the read_config mbox */ |