]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] Merge pci_process_bridge_OF_ranges()
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 11 Dec 2007 03:48:18 +0000 (14:48 +1100)
committerPaul Mackerras <paulus@samba.org>
Tue, 11 Dec 2007 04:43:35 +0000 (15:43 +1100)
commit633c9e62bdfc3f467acc4bf2a7e81266af9d71a2
treee072ef034d6021359993253d1101ba7a03609760
parent850dd5974f209e4ec2da94498042c2ef80f06142
[POWERPC] Merge pci_process_bridge_OF_ranges()

This merges the 32-bit and 64-bit implementations of
pci_process_bridge_OF_ranges().  The new function is cleaner than both
the old ones, and supports 64 bits ranges on ppc32 which is necessary
for the 4xx port.

It also adds some better (hopefully) output to the kernel log which
should help diagnose problems and makes better use of existing OF
parsing helpers (avoiding a few bugs of both implementations along
the way).

There are still a few unfortunate ifdef's but there is no way around
these for now at least not until some other bits of the PCI code are
made common.

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