/* This is the completion handler for driver's configuring asynchronous event mailbox command to the device. If the mailbox command returns successfully, it will set internal async event support flag to 1; otherwise, it will set internal async event support flag to 0.  */
static void lpfc_config_async_cmpl(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmboxq)
/* This is the completion handler for driver's configuring asynchronous event mailbox command to the device. If the mailbox command returns successfully, it will set internal async event support flag to 1; otherwise, it will set internal async event support flag to 0.  */
static void lpfc_config_async_cmpl(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmboxq)
{
	if (pmboxq->u.mb.mbxStatus == MBX_SUCCESS)
		phba->temp_sensor_support = 1;
	else
		phba->temp_sensor_support = 0;
	mempool_free(pmboxq, phba->mbox_mem_pool);
	return;
}