]> err.no Git - linux-2.6/commitdiff
[PATCH] acpi bridge hotadd: Read bridge resources when fixing up the bus
authorRajesh Shah <rajesh.shah@intel.com>
Thu, 28 Apr 2005 07:25:51 +0000 (00:25 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 28 Jun 2005 04:52:41 +0000 (21:52 -0700)
Read bridge io/mem/pfmem ranges when fixing up the bus so that bus resources
are tracked.  This is required to properly support pci end device and bridge
hotplug.

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

index d929858cfb3ec97f35cda37369a3a782269e21cd..720a861f88be283675a5b568bbf8837950e31d72 100644 (file)
@@ -418,6 +418,10 @@ pcibios_fixup_bus (struct pci_bus *b)
 {
        struct pci_dev *dev;
 
+       if (b->self) {
+               pci_read_bridge_bases(b);
+               pcibios_fixup_device_resources(b->self);
+       }
        list_for_each_entry(dev, &b->devices, bus_list)
                pcibios_fixup_device_resources(dev);