]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] Add "parent" struct device for PCI host bridges
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sat, 11 Nov 2006 06:25:07 +0000 (17:25 +1100)
committerPaul Mackerras <paulus@samba.org>
Mon, 4 Dec 2006 09:38:47 +0000 (20:38 +1100)
commit803d4573e60bc890d7fbc040ad1c18c2dc7f8279
tree62f1194b7d477c6f67fa874bf78a1b3183ad30ab
parent6506e7102fd57b138979f131d751014462181202
[POWERPC] Add "parent" struct device for PCI host bridges

Add a "parent" struct device to our PCI host bridge data structure so that
PCI can be rooted off another device in sysfs.

Note that arch/ppc doesn't use it, only arch/powerpc, though it's available
for both 32 and 64 bits.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/pci_32.c
arch/powerpc/kernel/pci_64.c
include/asm-powerpc/pci-bridge.h
include/asm-ppc/pci-bridge.h