Skip to content
Commit 1c975931 authored by Bjorn Helgaas's avatar Bjorn Helgaas
Browse files

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 9d265124 and
is no longer necessary (it probably was just cloned from x86 and was never
useful on sparc).

Acked-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent fd591341
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment