static int mpc86xx_exclude_device(struct pci_controller *hose, u_char bus, u_char devfn) { if (hose->dn == fsl_pci_primary) return uli_exclude_device(hose, bus, devfn); return PCIBIOS_SUCCESSFUL; }
static int mpc85xx_exclude_device(struct pci_controller *hose, u_char bus, u_char devfn) { if (hose->dn == pci_with_uli) return uli_exclude_device(hose, bus, devfn); return PCIBIOS_SUCCESSFUL; }
static int mpc85xx_exclude_device(struct pci_controller *hose, u_char bus, u_char devfn) { struct device_node* node; struct resource rsrc; node = (struct device_node *)hose->arch_data; of_address_to_resource(node, 0, &rsrc); if ((rsrc.start & 0xfffff) == 0xb000) { return uli_exclude_device(hose, bus, devfn); } return PCIBIOS_SUCCESSFUL; }