diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2012-07-09 19:39:52 (GMT) |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2012-07-10 14:34:59 (GMT) |
commit | 1c975931128c1128892981095a64fb8eabf240eb (patch) | |
tree | 48060e9f4dd7d7c9a97235de16bb323951bb5c9a /drivers/pci/setup-bus.c | |
parent | fd591341102ba5eb9e517d3889e7566fa45e021e (diff) | |
download | linux-1c975931128c1128892981095a64fb8eabf240eb.tar.xz |
sparc/PCI: replace pci_cfg_fake_ranges() with pci_read_bridge_bases()
The generic code to read P2P bridge windows is functionally equivalent
to the sparc-specific pci_cfg_fake_ranges(), so use the generic code.
The "if (!res->start) res->start = ..." removed from the I/O window code
here was an artifact of the Intel 1K window support from 9d265124d051 and
is no longer necessary (it probably was just cloned from x86 and was never
useful on sparc).
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/setup-bus.c')
0 files changed, 0 insertions, 0 deletions