From: Ivan Kokshaysky Date: Wed, 15 Jun 2005 14:59:27 +0000 (+0400) Subject: [PATCH] PCI: pci_assign_unassigned_resources() on x86 X-Git-Tag: v2.6.13-rc2~8^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=299de0343c7d18448a69c635378342e9214b14af;p=pandora-kernel.git [PATCH] PCI: pci_assign_unassigned_resources() on x86 - Add sanity check for io[port,mem]_resource in setup-bus.c. These resources look like "free" as they have no parents, but obviously we must not touch them. - In i386.c:pci_allocate_bus_resources(), if a bridge resource cannot be allocated for some reason, then clear its flags. This prevents any child allocations in this range, so the setup-bus code will work with a clean resource sub-tree. - i386.c:pcibios_enable_resources() doesn't enable bridges, as it checks only resources 0-5, which looks like a clear bug to me. I suspect it might break hotplug as well in some cases. From: Ivan Kokshaysky Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed