aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/pci
diff options
context:
space:
mode:
authorRajesh Shah <rajesh.shah@intel.com>2005-04-28 03:25:51 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2005-06-28 00:52:41 -0400
commitf7d473d919627262816459f8dba70d72812be074 (patch)
tree8dabcd1eea9369d117962d2d3646032745c596db /arch/ia64/pci
parent542df5de56a23bf2d94b75e2b304ab0e5a5508a8 (diff)
[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 <rajesh.shah@intel.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/ia64/pci')
-rw-r--r--arch/ia64/pci/pci.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/ia64/pci/pci.c b/arch/ia64/pci/pci.c
index d929858cfb3e..720a861f88be 100644
--- a/arch/ia64/pci/pci.c
+++ b/arch/ia64/pci/pci.c
@@ -418,6 +418,10 @@ pcibios_fixup_bus (struct pci_bus *b)
418{ 418{
419 struct pci_dev *dev; 419 struct pci_dev *dev;
420 420
421 if (b->self) {
422 pci_read_bridge_bases(b);
423 pcibios_fixup_device_resources(b->self);
424 }
421 list_for_each_entry(dev, &b->devices, bus_list) 425 list_for_each_entry(dev, &b->devices, bus_list)
422 pcibios_fixup_device_resources(dev); 426 pcibios_fixup_device_resources(dev);
423 427