Benjamin Herrenschmidt 553aa7659b [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>
2007-12-20 16:18:16 +11:00
..
2007-05-11 05:38:25 -04:00
2007-10-19 23:22:55 +02:00
2007-10-22 21:19:59 +02:00
2007-10-22 21:19:59 +02:00
2007-10-19 23:22:55 +02:00
2007-10-16 09:43:10 -07:00
2006-12-11 16:35:07 +11:00
2007-05-08 13:40:31 +10:00
2006-08-08 17:08:56 +10:00
2007-11-08 14:15:33 +11:00
2007-10-16 09:42:49 -07:00
2007-10-17 08:42:55 -07:00
2007-10-17 08:42:55 -07:00
2007-10-11 14:36:47 +10:00
2007-12-20 16:15:46 +11:00