summaryrefslogtreecommitdiff
path: root/arch/powerpc/sysdev/fsl_pci.h
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2007-07-19 20:29:53 (GMT)
committerKumar Gala <galak@kernel.crashing.org>2007-07-23 15:27:08 (GMT)
commit6c0a11c118471f79795202348fbd0e6580341794 (patch)
tree3fdd1b450e32203703ef56a3f1e6666c472312a1 /arch/powerpc/sysdev/fsl_pci.h
parent66afe8780f297edb4c4716bc326e127ec2923422 (diff)
downloadlinux-fsl-qoriq-6c0a11c118471f79795202348fbd0e6580341794.tar.xz
[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>
Diffstat (limited to 'arch/powerpc/sysdev/fsl_pci.h')
-rw-r--r--arch/powerpc/sysdev/fsl_pci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/fsl_pci.h b/arch/powerpc/sysdev/fsl_pci.h
index 700d478..37b04ad 100644
--- a/arch/powerpc/sysdev/fsl_pci.h
+++ b/arch/powerpc/sysdev/fsl_pci.h
@@ -82,6 +82,7 @@ struct ccsr_pci {
};
extern int fsl_add_bridge(struct device_node *dev, int is_primary);
+extern void fsl_pcibios_fixup_bus(struct pci_bus *bus);
#endif /* __POWERPC_FSL_PCI_H */
#endif /* __KERNEL__ */