]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] Fixup skipping of PowerMac PCI<->PCI bridge "closed" resources
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 20 Dec 2007 03:55:04 +0000 (14:55 +1100)
committerPaul Mackerras <paulus@samba.org>
Thu, 20 Dec 2007 05:18:15 +0000 (16:18 +1100)
commitbe8cbcd8896670a01ead7a29e33ffe29604ed734
treec4253a4191279a74d7896099dab13fb57b1a9d27
parentd0264ce796e4e3d77fdadf72d6625f8e6c1c96bd
[POWERPC] Fixup skipping of PowerMac PCI<->PCI bridge "closed" resources

Apple firmware has a strange way to "close" bridge resources by setting
them to some bogus values that overlap RAM (strangely, I haven't seen it
conflicting with DMA so far...).  This explicitely closes them to avoid
problems.  Previously, they would be closed as a consequence of failing
to be allocated, but this makes it more explicit, and thus the log
message is more explicit too.

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