]> git.baikalelectronics.ru Git - kernel.git/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)
commitba705665f668cffb7a8471ffd58c056b7ce99fad
tree3fdd1b450e32203703ef56a3f1e6666c472312a1
parent0a803b980a53b53abbf19bd5ebce3433d9195542
[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