[PATCH] acpi bridge hotadd: Fix pci_enable_device() for p2p bridges
authorRajesh Shah <rajesh.shah@intel.com>
Thu, 28 Apr 2005 07:25:45 +0000 (00:25 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 28 Jun 2005 04:52:39 +0000 (21:52 -0700)
commitfab3fb0ac8c83072465b28ca859c420da6c6511c
treef4d0dc0b7e9a8bd3611e1bf7f64dfd3cb55a950c
parentc431ada45d65b305a6aab4557067e564b23ce5a5
[PATCH] acpi bridge hotadd: Fix pci_enable_device() for p2p bridges

When checking if a PCI to PCI bridge should be enabled to decode memory and/or
IO resources, we need to look at all device resources not just the first 6.
This is needed to allow PCI bridges to pass down memory and IO accesses to
child devices even when the bridge itself does not consume resources in its
PCI BARs.

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