diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-05-22 14:35:11 -0700 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-06-10 10:59:52 -0700 |
commit | e3f2baebf4209b5927e23fa65d5977d31db936b3 (patch) | |
tree | 2f5b9850f13f0ce1cefcf1ba5144933f4bb93470 /arch/x86/kernel | |
parent | e7891c733f9b26c851edde50cf886a30bd133dbd (diff) | |
download | kernel-crypto-e3f2baebf4209b5927e23fa65d5977d31db936b3.tar.gz kernel-crypto-e3f2baebf4209b5927e23fa65d5977d31db936b3.tar.xz kernel-crypto-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 'arch/x86/kernel')
-rw-r--r-- | arch/x86/kernel/setup_64.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/kernel/setup_64.c b/arch/x86/kernel/setup_64.c index 6dff1286ad8..524b6850b2c 100644 --- a/arch/x86/kernel/setup_64.c +++ b/arch/x86/kernel/setup_64.c @@ -361,6 +361,11 @@ void __init setup_arch(char **cmdline_p) parse_early_param(); +#ifdef CONFIG_PCI + if (pci_early_dump_regs) + early_dump_pci_devices(); +#endif + #ifdef CONFIG_PROVIDE_OHCI1394_DMA_INIT if (init_ohci1394_dma_early) init_ohci1394_dma_on_all_controllers(); |