[POWERPC] Add the ability to find PCI capabilities early on
authorKumar Gala <galak@kernel.crashing.org>
Wed, 11 Jul 2007 04:37:45 +0000 (23:37 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 23 Jul 2007 15:27:07 +0000 (10:27 -0500)
commit38805e5f096162867a70c7468c654d7f9bb507da
tree841b3de2dc1b7c968564c39939398cda0427fb00
parent9ac4dd301eebb3cd8de801e02bfc91f296e56f63
[POWERPC] Add the ability to find PCI capabilities early on

Added early_find_capability that wraps pci_bus_find_capability and uses
fake_pci_bus() to allow us to call it before we've fully setup the
pci_controller.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/kernel/pci_32.c
include/asm-powerpc/pci-bridge.h