22 #include <linux/kernel.h>
23 #include <linux/pci.h>
24 #include <linux/string.h>
25 #include <linux/export.h>
31 #include <asm/pci-bridge.h>
53 #ifdef CONFIG_PPC_POWERNV
54 pdn->pe_number = IODA_INVALID_PE;
59 pdn->busno = (regs[0] >> 16) & 0xff;
60 pdn->devfn = (regs[0] >> 8) & 0xff;
63 pdn->pci_ext_config_space = (type && *type == 1);
92 for (dn = start->
child; dn; dn = nextdn) {
98 class = classp ? *classp : 0;
100 if (pre && ((ret = pre(dn, data)) !=
NULL))
141 pdn->devfn = pdn->busno = -1;