[PATCH 1/2] powerpc/fsl_pci: Add MPC83xx PCI-E controller RC modesupport

Liu Dave DaveLiu at freescale.com
Thu Jan 8 18:27:10 EST 2009


> +static void __iomem *mpc83xx_pcie_remap_cfg(struct pci_bus *bus,
> +					    unsigned int devfn, 

[snip]

> +	if (pcie->dev_base == dev_base)
> +		goto mapped;
> +
> +	out_le32(hose->cfg_data + PEX_OUTWIN0_TAL, dev_base);
> +
> +	pcie->dev_base = dev_base;

Do we need local_irq_save/local_irq_restore between them?
out_le32(PEX_OUTWIN0_TAL,...) and pcie->dev_base = dev_base;

> +mapped:
> +	return pcie->cfg_map + offset;
> +}



More information about the Linuxppc-dev mailing list