[POWERPC] Don't try to allocate resources for a Freescale POWERPC PHB
authorKumar Gala <galak@kernel.crashing.org>
Wed, 25 Jul 2007 05:44:11 +0000 (00:44 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 26 Jul 2007 04:02:06 +0000 (23:02 -0500)
commit2052d6d25decc04dc05beb99348b3d78f6e3490d
treece88378411b0d51c7464d8e523b2a371d05f7519
parent7659c038d3d0a635b5aeff04aed523d7b6c1dde8
[POWERPC] Don't try to allocate resources for a Freescale POWERPC PHB

The Freescale PCI PHBs actual report back values in the BAR registers
this causes issues in that we try to allocate resources for them
and will get error messages like the following on MPC8544 DS:

PCI: Failed to allocate mem resource #1:80000000@0 for 0000:00:00.0

To address this if we are class PCI_CLASS_PROCESSOR_POWERPC, a normal
header type, and the PHB we clear out all the resources.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/kernel/pci_32.c