Home
last modified time | relevance | path

Searched hist:b5ae5f911d221ad85090d6805ab9ab020f6e4703 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/powerpc/kernel/
H A Dpci-common.cdiff b5ae5f911d221ad85090d6805ab9ab020f6e4703 Mon Oct 27 14:48:44 CDT 2008 Benjamin Herrenschmidt <benh@kernel.crashing.org> powerpc/pci: Make pcibios_allocate_bus_resources more robust

To properly fix PCI hotplug, it's useful to be able to make the fixup
passes on all devices whether they were just hot plugged or already
there.

However, pcibios_allocate_bus_resources() wouldn't cope well with
being called twice for a given bus. This makes it ignore resources
that have already been allocated, along with adding a bit of debug
output.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>