diff options
author | Tomasz Nowicki <tn@semihalf.com> | 2016-09-09 21:24:03 +0200 |
---|---|---|
committer | Bjorn Helgaas <helgaas@kernel.org> | 2016-12-06 13:45:48 -0600 |
commit | 13983eb89d5afaa65acd4479fad151cbd4de5509 (patch) | |
tree | a131313e953e8b073ba44ff33a69994d11b0abdd /drivers/ptp | |
parent | 8fd4391ee717569d60fa283da778f7497630c9b7 (diff) | |
download | linux-13983eb89d5afaa65acd4479fad151cbd4de5509.tar.bz2 |
PCI/ACPI: Extend pci_mcfg_lookup() to return ECAM config accessors
pci_mcfg_lookup() is the external interface to the generic MCFG code.
Previously it merely looked up the ECAM base address for a given domain and
bus range. We want a way to add MCFG quirks, some of which may require
special config accessors and adjustments to the ECAM address range.
Extend pci_mcfg_lookup() so it can return a pointer to a pci_ecam_ops
structure and a struct resource for the ECAM address space. For now, it
always returns &pci_generic_ecam_ops (the standard accessor) and the
resource described by the MCFG.
No functional changes intended.
[bhelgaas: changelog]
Signed-off-by: Tomasz Nowicki <tn@semihalf.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/ptp')
0 files changed, 0 insertions, 0 deletions