aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/maple
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2007-12-20 14:55:05 +1100
committerPaul Mackerras <paulus@samba.org>2007-12-20 16:18:16 +1100
commit553aa7659bc0e188348f64e978343ed984eb6e56 (patch)
tree8c27968b7fa745c4bca9e573962ea6877f487014 /arch/powerpc/platforms/maple
parentbe8cbcd8896670a01ead7a29e33ffe29604ed734 (diff)
[POWERPC] Disable PCI IO/Mem on a device when resources can't be allocated
This patch changes the PowerPC PCI code to disable IO and/or Memory decoding on a PCI device when a resource of that type failed to be allocated. This is done to avoid having unallocated dangling BARs enabled that might try to decode on top of other devices. If a proper resource is assigned later on, then pci_enable_device() will take care of re-enabling decoding. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/maple')
0 files changed, 0 insertions, 0 deletions