diff options
Diffstat (limited to 'arch/powerpc/platforms/pasemi/pci.c')
-rw-r--r-- | arch/powerpc/platforms/pasemi/pci.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/pasemi/pci.c b/arch/powerpc/platforms/pasemi/pci.c index 03d1d07aa2ac..fcfb3df3f1a9 100644 --- a/arch/powerpc/platforms/pasemi/pci.c +++ b/arch/powerpc/platforms/pasemi/pci.c | |||
@@ -175,3 +175,12 @@ void __init pas_pci_init(void) | |||
175 | /* Use the common resource allocation mechanism */ | 175 | /* Use the common resource allocation mechanism */ |
176 | pci_probe_only = 1; | 176 | pci_probe_only = 1; |
177 | } | 177 | } |
178 | |||
179 | void __iomem *pasemi_pci_getcfgaddr(struct pci_dev *dev, int offset) | ||
180 | { | ||
181 | struct pci_controller *hose; | ||
182 | |||
183 | hose = pci_bus_to_host(bus); | ||
184 | |||
185 | return pa_pxp_cfg_addr(hose, hose->number, dev->devfn, int offset) | ||
186 | } | ||