From: Rajesh Shah Date: Thu, 28 Apr 2005 07:25:51 +0000 (-0700) Subject: [PATCH] acpi bridge hotadd: Read bridge resources when fixing up the bus X-Git-Tag: v2.6.13-rc1~39^2~20 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7d473d919627262816459f8dba70d72812be074;p=linux-2.6 [PATCH] acpi bridge hotadd: Read bridge resources when fixing up the bus 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 Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- diff --git a/arch/ia64/pci/pci.c b/arch/ia64/pci/pci.c index d929858cfb..720a861f88 100644 --- a/arch/ia64/pci/pci.c +++ b/arch/ia64/pci/pci.c @@ -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);