[IA64] respect ACPI producer/consumer flag for PCI root bridges
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Fri, 23 Sep 2005 17:39:07 +0000 (11:39 -0600)
committerTony Luck <tony.luck@intel.com>
Fri, 23 Sep 2005 17:50:09 +0000 (10:50 -0700)
commit463eb297401eeb174db3fdf37a87911b576b3993
tree1a0b2ffefc08cb4d3a2c591a5ff9bf9e5fb659ea
parent12f44f46bc9c6dc79255e661b085797af395d8da
[IA64] respect ACPI producer/consumer flag for PCI root bridges

Address space resources for ACPI devices have a producer/consumer
flag.  All devices "consume" the indicated address space.  If the
resource is marked as a "producer", the range is also passed on
to child devices.

We currently ignore this flag when setting up MMIO and I/O port
windows for PCI root bridges, so we could mistakenly interpret
a "consumed-only" range, like CSR space for the device itself,
as a window that is routed to children.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/pci/pci.c