/* Use this function to delete a BFA IOC. IOC should be stopped (by calling bfa_stop()) before this function call. */
void bfa_detach(struct bfa_s *bfa)
/* Use this function to delete a BFA IOC. IOC should be stopped (by calling bfa_stop()) before this function call. */
void bfa_detach(struct bfa_s *bfa)
{
	int	i;
	for (i = 0; hal_mods[i]; i++)
		hal_mods[i]->detach(bfa);
	bfa_iocfc_detach(bfa);
}