android_kernel_xiaomi_sm8350/arch/powerpc/platforms/maple
Benjamin Herrenschmidt b5166cc252 [PATCH] powerpc: pci_64 fixes & cleanups
I discovered that in some cases (PowerMac for example) we wouldn't
properly map the PCI IO space on recent kernels. In addition, the code
for initializing PCI host bridges was scattered all over the place with
some duplication between platforms.

This patch fixes the problem and does a small cleanup by creating a
pcibios_alloc_controller() in pci_64.c that is similar to the one in
pci_32.c (just takes an additional device node argument) that takes care
of all the grunt allocation and initialisation work. It should work for
both boot time and dynamically allocated PHBs.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2005-11-16 13:29:46 +11:00
..
Makefile powerpc: Merge maple support code to arch/powerpc/platforms/maple 2005-10-29 22:07:56 +10:00
maple.h powerpc: Merge maple support code to arch/powerpc/platforms/maple 2005-10-29 22:07:56 +10:00
pci.c [PATCH] powerpc: pci_64 fixes & cleanups 2005-11-16 13:29:46 +11:00
setup.c powerpc: Merge maple support code to arch/powerpc/platforms/maple 2005-10-29 22:07:56 +10:00
time.c powerpc: Merge maple support code to arch/powerpc/platforms/maple 2005-10-29 22:07:56 +10:00