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/pci/common.c | |
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/pci/common.c')
-rw-r--r-- | arch/x86/pci/common.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/pci/common.c b/arch/x86/pci/common.c index 3a5261bdff5d..d19fd07bafd6 100644 --- a/arch/x86/pci/common.c +++ b/arch/x86/pci/common.c | |||
@@ -20,6 +20,7 @@ | |||
20 | unsigned int pci_probe = PCI_PROBE_BIOS | PCI_PROBE_CONF1 | PCI_PROBE_CONF2 | | 20 | unsigned int pci_probe = PCI_PROBE_BIOS | PCI_PROBE_CONF1 | PCI_PROBE_CONF2 | |
21 | PCI_PROBE_MMCONF; | 21 | PCI_PROBE_MMCONF; |
22 | 22 | ||
23 | unsigned int pci_early_dump_regs; | ||
23 | static int pci_bf_sort; | 24 | static int pci_bf_sort; |
24 | int pci_routeirq; | 25 | int pci_routeirq; |
25 | int pcibios_last_bus = -1; | 26 | int pcibios_last_bus = -1; |
@@ -511,6 +512,9 @@ char * __devinit pcibios_setup(char *str) | |||
511 | } else if (!strcmp(str, "use_crs")) { | 512 | } else if (!strcmp(str, "use_crs")) { |
512 | pci_probe |= PCI_USE__CRS; | 513 | pci_probe |= PCI_USE__CRS; |
513 | return NULL; | 514 | return NULL; |
515 | } else if (!strcmp(str, "earlydump")) { | ||
516 | pci_early_dump_regs = 1; | ||
517 | return NULL; | ||
514 | } else if (!strcmp(str, "routeirq")) { | 518 | } else if (!strcmp(str, "routeirq")) { |
515 | pci_routeirq = 1; | 519 | pci_routeirq = 1; |
516 | return NULL; | 520 | return NULL; |