Skip to content

Commit

Permalink
core/pci: Print 'PCI Summary' at PR_NOTICE
Browse files Browse the repository at this point in the history
The actual entries of the PCI Summary are printed at PR_NOTICE so that
they go to the console during boot. The header however does not which
breaks my patented "grep 'PCI Summary' -A 100" technique for scraping
the summary out of a log file when that log is recorded from the SOL
console.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
  • Loading branch information
oohal authored and stewartsmith committed Aug 2, 2018
1 parent 7db7c9f commit 6c45dc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -1752,7 +1752,7 @@ static void __pci_init_slots(void)
if (platform.pci_probe_complete)
platform.pci_probe_complete();

prlog(PR_DEBUG, "PCI Summary:\n");
prlog(PR_NOTICE, "PCI Summary:\n");

for (i = 0; i < ARRAY_SIZE(phbs); i++) {
if (!phbs[i])
Expand Down

0 comments on commit 6c45dc0

Please sign in to comment.