From: Benjamin Herrenschmidt Date: Mon, 27 Oct 2008 19:48:44 +0000 (+0000) Subject: powerpc/pci: Make pcibios_allocate_bus_resources more robust X-Git-Tag: v2.6.29-rc1~574^2~133 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5ae5f911d221ad85090d6805ab9ab020f6e4703;p=pandora-kernel.git 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 Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed