aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2007-06-25 13:09:42 -0500
committerKumar Gala <galak@kernel.crashing.org>2007-06-29 01:58:13 -0500
commit5ab65ecdaffd85753e7ad957622afcd709a39deb (patch)
tree1b26f47f7126a7939ac2f9ce1c386bb3c8892b56 /include
parent[POWERPC] Remove bus_offset in places its not really used (diff)
downloadlinux-dev-5ab65ecdaffd85753e7ad957622afcd709a39deb.tar.xz
linux-dev-5ab65ecdaffd85753e7ad957622afcd709a39deb.zip
[POWERPC] Added self_busno to indicate which bus number the PHB is
Added self_busno to pci_controller and indirect PCI ops to be set by board code to indicate which bus number to use when talking to the PHB. By default we use zero since the majority of controllers that have implicit mechanisms to talk to the PHBs use a bus number of zero. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-ppc/pci-bridge.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-ppc/pci-bridge.h b/include/asm-ppc/pci-bridge.h
index 4d35b844bc58..2c2abdaad42f 100644
--- a/include/asm-ppc/pci-bridge.h
+++ b/include/asm-ppc/pci-bridge.h
@@ -47,6 +47,7 @@ struct pci_controller {
int first_busno;
int last_busno;
+ int self_busno;
int bus_offset;
void __iomem *io_base_virt;