powerpc/fsl: Support unique MSI addresses per PCIe Root Complex
commit3da34aae03d498ee62f75aa7467de93cce3030fd
authorKumar Gala <galak@kernel.crashing.org>
Tue, 12 May 2009 20:51:56 +0000 (12 15:51 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 19 May 2009 05:50:38 +0000 (19 00:50 -0500)
treef2cbdc5e8cd09801ca32d26977cbf4eb8feae415
parent12ac426f889f3a6b821c7ca73e74d83f0fc84c13
powerpc/fsl: Support unique MSI addresses per PCIe Root Complex

Its feasible based on how the PCI address map is setup that the region
of PCI address space used for MSIs differs for each PHB on the same SoC.

Instead of assuming that the address mappes to CCSRBAR 1:1 we read
PEXCSRBAR (BAR0) for the PHB that the given pci_dev is on.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/sysdev/fsl_msi.c