]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] Use global_number in ppc32 pci_controller
authorKumar Gala <galak@kernel.crashing.org>
Wed, 27 Jun 2007 06:17:57 +0000 (01:17 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 29 Jun 2007 06:58:37 +0000 (01:58 -0500)
commit2a7aa4aa38549a643f3239f0bd9594348ff95d40
tree9eb57336d892eb8c0e76584285030868df82f626
parent060cfdc9b99f23f337e09fe9be2d76fad0d5cb6f
[POWERPC] Use global_number in ppc32 pci_controller

Make the pci_controller struct use global_number for the PHB domain number
instead of index to match what ppc64 does and reuse its pci_domain_nr code.

Introduced a pci-common.c to handle shared code between ppc32 & ppc64.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/kernel/Makefile
arch/powerpc/kernel/pci-common.c [new file with mode: 0644]
arch/powerpc/kernel/pci_32.c
arch/powerpc/kernel/pci_64.c
arch/powerpc/platforms/52xx/efika.c
arch/powerpc/platforms/chrp/pci.c
include/asm-powerpc/pci-bridge.h
include/asm-powerpc/pci.h