]> err.no Git - linux-2.6/commit
[PATCH] acpi bridge hotadd: Make pcibios_fixup_bus() hot-plug safe
authorRajesh Shah <rajesh.shah@intel.com>
Thu, 28 Apr 2005 07:25:46 +0000 (00:25 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 28 Jun 2005 04:52:39 +0000 (21:52 -0700)
commit71c3511c22e8e0648094672abec898b3bf84c18b
treee85aa826d22c53f7ecb5c040fc0d242c8576a8a2
parentfab3fb0ac8c83072465b28ca859c420da6c6511c
[PATCH] acpi bridge hotadd: Make pcibios_fixup_bus() hot-plug safe

PCI scan code calls the arch specific pcibios_fixup_bus() each time it scans a
new bridge.  For root bridge hot-plug, the bridge and it's attached devices
may not have been configured properly yet, so it's not safe to claim those
resources at this time.

This code goes away when we clean up the way pci resources are claimed (in
pci_enable_device()), so this is only a stopgap fix.

Signed-off-by: Rajesh Shah <rajesh.shah@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/ia64/pci/pci.c