diff options
-rw-r--r-- | drivers/scsi/lpfc/lpfc_init.c | 6 | ||||
-rw-r--r-- | drivers/scsi/lpfc/lpfc_sli.c | 1 |
2 files changed, 5 insertions, 2 deletions
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c index 20fa6785a0e2..68d62d55a3a5 100644 --- a/drivers/scsi/lpfc/lpfc_init.c +++ b/drivers/scsi/lpfc/lpfc_init.c | |||
@@ -167,7 +167,11 @@ lpfc_config_port_prep(struct lpfc_hba *phba) | |||
167 | sizeof(phba->wwpn)); | 167 | sizeof(phba->wwpn)); |
168 | } | 168 | } |
169 | 169 | ||
170 | phba->sli3_options = 0x0; | 170 | /* |
171 | * Clear all option bits except LPFC_SLI3_BG_ENABLED, | ||
172 | * which was already set in lpfc_get_cfgparam() | ||
173 | */ | ||
174 | phba->sli3_options &= (uint32_t)LPFC_SLI3_BG_ENABLED; | ||
171 | 175 | ||
172 | /* Setup and issue mailbox READ REV command */ | 176 | /* Setup and issue mailbox READ REV command */ |
173 | lpfc_read_rev(phba, pmb); | 177 | lpfc_read_rev(phba, pmb); |
diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c index 783a1540cfbe..b9e5cd79931a 100644 --- a/drivers/scsi/lpfc/lpfc_sli.c +++ b/drivers/scsi/lpfc/lpfc_sli.c | |||
@@ -4965,7 +4965,6 @@ lpfc_sli_config_port(struct lpfc_hba *phba, int sli_mode) | |||
4965 | phba->sli3_options &= ~(LPFC_SLI3_NPIV_ENABLED | | 4965 | phba->sli3_options &= ~(LPFC_SLI3_NPIV_ENABLED | |
4966 | LPFC_SLI3_HBQ_ENABLED | | 4966 | LPFC_SLI3_HBQ_ENABLED | |
4967 | LPFC_SLI3_CRP_ENABLED | | 4967 | LPFC_SLI3_CRP_ENABLED | |
4968 | LPFC_SLI3_BG_ENABLED | | ||
4969 | LPFC_SLI3_DSS_ENABLED); | 4968 | LPFC_SLI3_DSS_ENABLED); |
4970 | if (rc != MBX_SUCCESS) { | 4969 | if (rc != MBX_SUCCESS) { |
4971 | lpfc_printf_log(phba, KERN_ERR, LOG_INIT, | 4970 | lpfc_printf_log(phba, KERN_ERR, LOG_INIT, |