ql_dbg(ql_dbg_init, vha, 0x0061,
            "Configure NVRAM parameters...\n");
 
+       /* Let priority default to FCP, can be overridden by nvram_config */
+       ha->fc4_type_priority = FC4_PRIORITY_FCP;
+
        ha->isp_ops->nvram_config(vha);
 
+       if (ha->fc4_type_priority != FC4_PRIORITY_FCP &&
+           ha->fc4_type_priority != FC4_PRIORITY_NVME)
+               ha->fc4_type_priority = FC4_PRIORITY_FCP;
+
+       ql_log(ql_log_info, vha, 0xffff, "FC4 priority set to %s\n",
+              ha->fc4_type_priority == FC4_PRIORITY_FCP ? "FCP" : "NVMe");
+
        if (ha->flags.disable_serdes) {
                /* Mask HBA via NVRAM settings? */
                ql_log(ql_log_info, vha, 0x0077,
 
        /* Determine NVMe/FCP priority for target ports */
        ha->fc4_type_priority = qla2xxx_get_fc4_priority(vha);
-       ql_log(ql_log_info, vha, 0xffff, "FC4 priority set to %s\n",
-           ha->fc4_type_priority & BIT_0 ? "FCP" : "NVMe");
 
        if (rval) {
                ql_log(ql_log_warn, vha, 0x0076,