[PATCH] acpi bridge hotadd: Make the PCI remove routines safe for failed hot-plug
authorRajesh Shah <rajesh.shah@intel.com>
Thu, 28 Apr 2005 07:25:49 +0000 (00:25 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 28 Jun 2005 04:52:41 +0000 (21:52 -0700)
commit091ca9f06382e46d77213c35a97f7d0be9e350d2
treea7a63e88279b03c2ba47e8c62c1a40192f3d93b7
parent6ef6f0e33c4645fc8d23201ad5a6a289b4303cbb
[PATCH] acpi bridge hotadd: Make the PCI remove routines safe for failed hot-plug

When a root bridge hierarchy is hot-plugged, resource requirements for the new
devices may be greater than what the root bridge is decoding.  In this case,
we want to remove devices that did not get needed resources.  These devices
have been scanned into bus specific lists but not yet added to the global
device list.  Make sure the pci remove functions can handle this case.

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>
drivers/pci/remove.c