summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-05-22 23:35:11 +0200
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-06-10 19:59:52 +0200
commite3f2baebf4209b5927e23fa65d5977d31db936b3 (patch)
tree2f5b9850f13f0ce1cefcf1ba5144933f4bb93470 /include
parentPCI/x86: write_pci_config_byte fix offset (diff)
downloadlinux-e3f2baebf4209b5927e23fa65d5977d31db936b3.tar.xz
linux-e3f2baebf4209b5927e23fa65d5977d31db936b3.zip
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')
-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 7bd40b4de751..80c775d9fe20 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