]> err.no Git - linux-2.6/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)
commit5516b540e98de6f7474a4e7149470ad6a0bbc54a
tree9eb57336d892eb8c0e76584285030868df82f626
parent6a506238b33efd93e60c1585d654b37e292183de
[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