summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorBjorn Helgaas2012-07-09 21:39:52 +0200
committerBjorn Helgaas2012-07-10 16:34:59 +0200
commit1c975931128c1128892981095a64fb8eabf240eb (patch)
tree48060e9f4dd7d7c9a97235de16bb323951bb5c9a /drivers/pci
parentPCI: support sizing P2P bridge I/O windows with 1K granularity (diff)
downloadkernel-qcow2-linux-1c975931128c1128892981095a64fb8eabf240eb.tar.gz
kernel-qcow2-linux-1c975931128c1128892981095a64fb8eabf240eb.tar.xz
kernel-qcow2-linux-1c975931128c1128892981095a64fb8eabf240eb.zip
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')
0 files changed, 0 insertions, 0 deletions