]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - include/linux/pci.h
PCI: Export pcie_flr()
authorChristoph Hellwig <hch@lst.de>
Fri, 14 Apr 2017 19:11:25 +0000 (21:11 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 20 Apr 2017 13:53:51 +0000 (08:53 -0500)
commita60a2b73ba69abca26653fff157b0fd8947bc498
tree6706049eb35599d6fbf49577f7ca451c66b757f2
parent0e7df22401a3dfd403b26dea62dd00e0598b538b
PCI: Export pcie_flr()

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: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci.c
include/linux/pci.h