[PATCH] acpi bridge hotadd: Link newly created pci child bus to its parent on creation
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:40 +0000 (21:52 -0700)
commit6ef6f0e33c4645fc8d23201ad5a6a289b4303cbb
treeff7861a550b5eea24788ccc07ca0df5294f9067b
parente4ea9bb7e9f177e03a917b1f1213de0315f819ee
[PATCH] acpi bridge hotadd: Link newly created pci child bus to its parent on creation

When a pci child bus is created, add it to the parent's children list
immediately rather than waiting till pci_bus_add_devices().  For hot-plug
bridges/devices, pci_bus_add_devices() may be called much later, after they
have been properly configured.  In the meantime, this allows us to use the
normal pci bus search functions for the hot-plug bridges/buses.

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