summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/pci-direct.h
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-05-22 14:35:11 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-06-10 10:59:52 -0700
commite3f2baebf4209b5927e23fa65d5977d31db936b3 (patch)
tree2f5b9850f13f0ce1cefcf1ba5144933f4bb93470 /include/asm-x86/pci-direct.h
parente7891c733f9b26c851edde50cf886a30bd133dbd (diff)
downloadop-kernel-dev-e3f2baebf4209b5927e23fa65d5977d31db936b3.zip
op-kernel-dev-e3f2baebf4209b5927e23fa65d5977d31db936b3.tar.gz
PCI/x86: early dump pci conf space v2
Allows us to dump PCI space before any kernel changes have been made. Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'include/asm-x86/pci-direct.h')
-rw-r--r--include/asm-x86/pci-direct.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-x86/pci-direct.h b/include/asm-x86/pci-direct.h
index 7bd40b4..80c775d 100644
--- a/include/asm-x86/pci-direct.h
+++ b/include/asm-x86/pci-direct.h
@@ -15,4 +15,7 @@ extern void write_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset, u16 val);
extern int early_pci_allowed(void);
+extern unsigned int pci_early_dump_regs;
+extern void early_dump_pci_device(u8 bus, u8 slot, u8 func);
+extern void early_dump_pci_devices(void);
#endif
OpenPOWER on IntegriCloud