commit | a60a2b73ba69abca26653fff157b0fd8947bc498 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Fri Apr 14 21:11:25 2017 +0200 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Thu Apr 20 08:53:51 2017 -0500 |
tree | 6706049eb35599d6fbf49577f7ca451c66b757f2 | |
parent | 0e7df22401a3dfd403b26dea62dd00e0598b538b [diff] |
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>