[PATCH] acpi bridge hotadd: Prevent duplicate bus numbers when scanning PCI bridge
authorRajesh Shah <rajesh.shah@intel.com>
Thu, 28 Apr 2005 07:25:47 +0000 (00:25 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 28 Jun 2005 04:52:40 +0000 (21:52 -0700)
commitcc57450f5c044270d2cf1dd437c1850422262109
tree418c7546c443cfc80601da045731f6b5a9f23442
parent71c3511c22e8e0648094672abec898b3bf84c18b
[PATCH] acpi bridge hotadd: Prevent duplicate bus numbers when scanning PCI bridge

When hot-plugging a root bridge, as we try to assign bus numbers we may find
that the hotplugged hieratchy has more PCI to PCI bridges (i.e.  bus
requirements) than available.  Make sure we don't step over an existing bus
when that happens.

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/probe.c