aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci.h
diff options
context:
space:
mode:
authorSinan Kaya <[email protected]>2018-06-05 02:16:09 +0000
committerBjorn Helgaas <[email protected]>2018-06-30 01:06:07 +0000
commit11eb0e0e8dea8b97cff972b09cf6fb033b729dff (patch)
tree84ca9d5c2ae77c4bb21984c68469b75c37eb80ad /drivers/pci/pci.h
parentPCI: Cleanup PCI_REBAR_CTRL_BAR_SHIFT handling (diff)
downloadkernel-11eb0e0e8dea8b97cff972b09cf6fb033b729dff.tar.gz
kernel-11eb0e0e8dea8b97cff972b09cf6fb033b729dff.zip
PCI: Make early dump functionality generic
Move early dump functionality into common code so that it is available for all architectures. No need to carry arch-specific reads around as the read hooks are already initialized by the time pci_setup_device() is getting called during scan. Tested-by: Andy Shevchenko <[email protected]> Signed-off-by: Sinan Kaya <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]>
Diffstat (limited to 'drivers/pci/pci.h')
-rw-r--r--drivers/pci/pci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h
index c358e7a07f3f..c33265e02c3a 100644
--- a/drivers/pci/pci.h
+++ b/drivers/pci/pci.h
@@ -7,6 +7,7 @@
#define PCI_VSEC_ID_INTEL_TBT 0x1234 /* Thunderbolt */
extern const unsigned char pcie_link_speed[];
+extern bool pci_early_dump;
bool pcie_cap_has_lnkctl(const struct pci_dev *dev);