Skip to content
  • Christoph Hellwig's avatar
    PCI: Export pcie_flr() · a60a2b73
    Christoph Hellwig authored
    
    
    Currently we opencode the FLR sequence in lots of place; export a core
    helper instead.  We split out the probing for FLR support as all the
    non-core callers already know their hardware.
    
    Note that in the new pci_has_flr() function the quirk check has been moved
    before the capability check as there is no point in reading the capability
    in this case.
    
    Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
    Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
    a60a2b73