/* This routine marks a HBA's management interface as not blocked. Once the HBA's management interface is marked as not blocked, all the user space access to the HBA, whether they are from sysfs interface or libdfc interface will be allowed. The HBA is set to block the management interface when the driver prepares the HBA interface for online or offline and then set to unblock the management interface afterwards.  */
void lpfc_unblock_mgmt_io(struct lpfc_hba *phba)
/* This routine marks a HBA's management interface as not blocked. Once the HBA's management interface is marked as not blocked, all the user space access to the HBA, whether they are from sysfs interface or libdfc interface will be allowed. The HBA is set to block the management interface when the driver prepares the HBA interface for online or offline and then set to unblock the management interface afterwards.  */
void lpfc_unblock_mgmt_io(struct lpfc_hba *phba)
{
	unsigned long iflag;
	spin_lock_irqsave(&phba->hbalock, iflag);
	phba->sli.sli_flag &= ~LPFC_BLOCK_MGMT_IO;
	spin_unlock_irqrestore(&phba->hbalock, iflag);
}