/* pm8001_chip_iounmap - which maped when initilized. @pm8001_ha: our hba card information  */
static void pm8001_chip_iounmap(struct pm8001_hba_info *pm8001_ha)
/* pm8001_chip_iounmap - which maped when initilized. @pm8001_ha: our hba card information  */
static void pm8001_chip_iounmap(struct pm8001_hba_info *pm8001_ha)
{
	s8 bar, logical = 0;
	for (bar = 0; bar < 6; bar++) {
		if ((bar == 1) || (bar == 3))
			continue;
		if (pm8001_ha->io_mem[logical].memvirtaddr) {
			iounmap(pm8001_ha->io_mem[logical].memvirtaddr);
			logical++;
		}
	}
}