diff options
Diffstat (limited to 'arch/powerpc/platforms/pasemi/pci.c')
-rw-r--r-- | arch/powerpc/platforms/pasemi/pci.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/pasemi/pci.c b/arch/powerpc/platforms/pasemi/pci.c index aa862713258c..f3a68a0fef23 100644 --- a/arch/powerpc/platforms/pasemi/pci.c +++ b/arch/powerpc/platforms/pasemi/pci.c | |||
@@ -31,6 +31,8 @@ | |||
31 | 31 | ||
32 | #include <asm/ppc-pci.h> | 32 | #include <asm/ppc-pci.h> |
33 | 33 | ||
34 | #include "pasemi.h" | ||
35 | |||
34 | #define PA_PXP_CFA(bus, devfn, off) (((bus) << 20) | ((devfn) << 12) | (off)) | 36 | #define PA_PXP_CFA(bus, devfn, off) (((bus) << 20) | ((devfn) << 12) | (off)) |
35 | 37 | ||
36 | static inline int pa_pxp_offset_valid(u8 bus, u8 devfn, int offset) | 38 | static inline int pa_pxp_offset_valid(u8 bus, u8 devfn, int offset) |
@@ -199,6 +201,7 @@ static int __init pas_add_bridge(struct device_node *dev) | |||
199 | 201 | ||
200 | hose->first_busno = 0; | 202 | hose->first_busno = 0; |
201 | hose->last_busno = 0xff; | 203 | hose->last_busno = 0xff; |
204 | hose->controller_ops = pasemi_pci_controller_ops; | ||
202 | 205 | ||
203 | setup_pa_pxp(hose); | 206 | setup_pa_pxp(hose); |
204 | 207 | ||
@@ -239,3 +242,5 @@ void __iomem *pasemi_pci_getcfgaddr(struct pci_dev *dev, int offset) | |||
239 | 242 | ||
240 | return (void __iomem *)pa_pxp_cfg_addr(hose, dev->bus->number, dev->devfn, offset); | 243 | return (void __iomem *)pa_pxp_cfg_addr(hose, dev->bus->number, dev->devfn, offset); |
241 | } | 244 | } |
245 | |||
246 | struct pci_controller_ops pasemi_pci_controller_ops; | ||