diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-05-22 17:35:11 -0400 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-06-10 13:59:52 -0400 |
commit | e3f2baebf4209b5927e23fa65d5977d31db936b3 (patch) | |
tree | 2f5b9850f13f0ce1cefcf1ba5144933f4bb93470 /arch/x86/kernel | |
parent | e7891c733f9b26c851edde50cf886a30bd133dbd (diff) |
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 6dff1286ad8a..524b6850b2c0 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) | |||
361 | 361 | ||
362 | parse_early_param(); | 362 | parse_early_param(); |
363 | 363 | ||
364 | #ifdef CONFIG_PCI | ||
365 | if (pci_early_dump_regs) | ||
366 | early_dump_pci_devices(); | ||
367 | #endif | ||
368 | |||
364 | #ifdef CONFIG_PROVIDE_OHCI1394_DMA_INIT | 369 | #ifdef CONFIG_PROVIDE_OHCI1394_DMA_INIT |
365 | if (init_ohci1394_dma_early) | 370 | if (init_ohci1394_dma_early) |
366 | init_ohci1394_dma_on_all_controllers(); | 371 | init_ohci1394_dma_on_all_controllers(); |