/* This routine is invoked to set up SLI4 BAR0 PCI config space register memory map.  */
static void lpfc_sli4_bar0_register_memmap(struct lpfc_hba *phba)
/* This routine is invoked to set up SLI4 BAR0 PCI config space register memory map.  */
static void lpfc_sli4_bar0_register_memmap(struct lpfc_hba *phba)
{
	phba->sli4_hba.UERRLOregaddr = phba->sli4_hba.conf_regs_memmap_p +
					LPFC_UERR_STATUS_LO;
	phba->sli4_hba.UERRHIregaddr = phba->sli4_hba.conf_regs_memmap_p +
					LPFC_UERR_STATUS_HI;
	phba->sli4_hba.UEMASKLOregaddr = phba->sli4_hba.conf_regs_memmap_p +
					LPFC_UE_MASK_LO;
	phba->sli4_hba.UEMASKHIregaddr = phba->sli4_hba.conf_regs_memmap_p +
					LPFC_UE_MASK_HI;
	phba->sli4_hba.SCRATCHPADregaddr = phba->sli4_hba.conf_regs_memmap_p +
					LPFC_SCRATCHPAD;
}