/* This routine prepares a mailbox command to bring down HBA link.  */
void lpfc_down_link(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb)
/* This routine prepares a mailbox command to bring down HBA link.  */
void lpfc_down_link(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb)
{
	MAILBOX_t *mb;
	memset(pmb, 0, sizeof(LPFC_MBOXQ_t));
	mb = &pmb->u.mb;
	mb->mbxCommand = MBX_DOWN_LINK;
	mb->mbxOwner = OWN_HOST;
}