]> err.no Git - linux-2.6/commit
[POWERPC] Fixup resources on pci_bus for PCIe PHB when no device is connected
authorKumar Gala <galak@kernel.crashing.org>
Thu, 19 Jul 2007 20:29:53 +0000 (15:29 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 23 Jul 2007 15:27:08 +0000 (10:27 -0500)
commit6c0a11c118471f79795202348fbd0e6580341794
tree3fdd1b450e32203703ef56a3f1e6666c472312a1
parent66afe8780f297edb4c4716bc326e127ec2923422
[POWERPC] Fixup resources on pci_bus for PCIe PHB when no device is connected

On the 85xx/86xx PCIe controllers if there is no device connected to the
PHB we will still allocate a pci_bus for downstream bus of the virtual
P2P bridge. However the resources allocated to the downstream bus are not
correct and so we just mimic the resources from the upstream pci_bus.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/platforms/85xx/mpc85xx_cds.c
arch/powerpc/platforms/86xx/mpc86xx_hpcn.c
arch/powerpc/sysdev/fsl_pci.c
arch/powerpc/sysdev/fsl_pci.h