/* This routine prepares the mailbox command for reading out HBA link status.  */
void lpfc_read_lnk_stat(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb)
/* This routine prepares the mailbox command for reading out HBA link status.  */
void lpfc_read_lnk_stat(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb)
{
	MAILBOX_t *mb;
	mb = &pmb->u.mb;
	memset(pmb, 0, sizeof (LPFC_MBOXQ_t));
	mb->mbxCommand = MBX_READ_LNK_STAT;
	mb->mbxOwner = OWN_HOST;
	return;
}