[POWERPC] Pass the pci_controller into pci_exclude_device

There are times that we need to know which controller we are on to decide
how to exclude devices properly.  We now pass the pci_controller that we
are going to use down to the pci_exclude_device function. This will
greatly simplify being able to exclude the PHBs in multiple controller
setups.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
Kumar Gala
2007-06-22 00:23:57 -05:00
parent 0e302a7044
commit 7d52c7b0cd
17 changed files with 165 additions and 21 deletions

View File

@ -45,7 +45,7 @@
#define HOLLY_PCI_CFG_PHYS 0x7c000000
int holly_exclude_device(u_char bus, u_char devfn)
int holly_exclude_device(struct pci_controller *hose, u_char bus, u_char devfn)
{
if (bus == 0 && PCI_SLOT(devfn) == 0)
return PCIBIOS_DEVICE_NOT_FOUND;