Skip to content

Commit

Permalink
[PATCH] x86-64: tighten up printks
Browse files Browse the repository at this point in the history
Signed-off-by: Muli Ben-Yehuda <muli@il.ibm.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
  • Loading branch information
Muli Ben-Yehuda authored and Andi Kleen committed Jan 11, 2007
1 parent ed5316d commit b92cc55
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions arch/x86_64/kernel/pci-calgary.c
Original file line number Diff line number Diff line change
Expand Up @@ -1068,6 +1068,8 @@ void __init detect_calgary(void)
if (!early_pci_allowed())
return;

printk(KERN_DEBUG "Calgary: detecting Calgary via BIOS EBDA area\n");

ptr = (unsigned long)phys_to_virt(get_bios_ebda());

rio_table_hdr = NULL;
Expand All @@ -1088,14 +1090,14 @@ void __init detect_calgary(void)
offset = *((unsigned short *)(ptr + offset));
}
if (!rio_table_hdr) {
printk(KERN_ERR "Calgary: Unable to locate "
"Rio Grande Table in EBDA - bailing!\n");
printk(KERN_DEBUG "Calgary: Unable to locate Rio Grande table "
"in EBDA - bailing!\n");
return;
}

ret = build_detail_arrays();
if (ret) {
printk(KERN_ERR "Calgary: build_detail_arrays ret %d\n", ret);
printk(KERN_DEBUG "Calgary: build_detail_arrays ret %d\n", ret);
return;
}

Expand Down Expand Up @@ -1128,6 +1130,9 @@ void __init detect_calgary(void)
}
}

printk(KERN_DEBUG "Calgary: finished detection, Calgary %s\n",
calgary_found ? "found" : "not found");

if (calgary_found) {
iommu_detected = 1;
calgary_detected = 1;
Expand Down

0 comments on commit b92cc55

Please sign in to comment.