LPFC_MBOXQ_t *mboxq;
        MAILBOX_t *mb;
 
-       if (phba->sli_rev < LPFC_SLI_REV4) {
-               /* Reset the port first */
-               lpfc_sli_brdrestart(phba);
-               rc = lpfc_sli_chipset_init(phba);
-               if (rc)
-                       return (uint64_t)-1;
-       }
-
        mboxq = (LPFC_MBOXQ_t *) mempool_alloc(phba->mbox_mem_pool,
                                                GFP_KERNEL);
        if (!mboxq)
        int i;
        uint64_t wwn;
        bool use_no_reset_hba = false;
+       int rc;
 
-       wwn = lpfc_get_wwpn(phba);
+       if (lpfc_no_hba_reset_cnt) {
+               if (phba->sli_rev < LPFC_SLI_REV4 &&
+                   dev == &phba->pcidev->dev) {
+                       /* Reset the port first */
+                       lpfc_sli_brdrestart(phba);
+                       rc = lpfc_sli_chipset_init(phba);
+                       if (rc)
+                               return NULL;
+               }
+               wwn = lpfc_get_wwpn(phba);
+       }
 
        for (i = 0; i < lpfc_no_hba_reset_cnt; i++) {
                if (wwn == lpfc_no_hba_reset[i]) {