[POWERPC] Improve resource setup of PowerMac G5 HT bridge
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 20 Dec 2007 03:55:02 +0000 (14:55 +1100)
committerPaul Mackerras <paulus@samba.org>
Thu, 20 Dec 2007 05:18:14 +0000 (16:18 +1100)
commitd0264ce796e4e3d77fdadf72d6625f8e6c1c96bd
tree3b06b866c224c978b04673103ec35373d49b2408
parent444532d44aa6bc4d6e3ca74d8ad99c36f3b4d9f0
[POWERPC] Improve resource setup of PowerMac G5 HT bridge

The device node for the HT bridge on G5s doesn't contain useful ranges.

We used to give it a bunch of the known PCI space and then punch a "hole"
in it based on where the AGP or PCIe region was.  This reworks it to
use the actual register in the bridge that controls the decoding instead.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/powermac/pci.c