aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2004-11-03 09:09:13 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2004-11-03 09:09:13 +0000
commit2a921b054380ae23a514652dc3cfcde40191efc3 (patch)
tree2a7d71f441c8037e6284a4124164a0fc0ed63599 /sys/dev
parente93a5ce09266f5c0af01eaabdcf069473327f524 (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/acpica/acpi_timer.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/dev/acpica/acpi_timer.c b/sys/dev/acpica/acpi_timer.c
index 1a3a45a9b91c..22087228a086 100644
--- a/sys/dev/acpica/acpi_timer.c
+++ b/sys/dev/acpica/acpi_timer.c
@@ -174,8 +174,12 @@ acpi_timer_probe(device_t dev)
* the timer multiple times to get a consistent value before returning.
*/
j = 0;
+ if (bootverbose)
+ printf("ACPI timer:");
for (i = 0; i < 10; i++)
j += acpi_timer_test();
+ if (bootverbose)
+ printf(" -> %d\n", j);
if (j == 10) {
acpi_timer_timecounter.tc_name = "ACPI-fast";
acpi_timer_timecounter.tc_get_timecount = acpi_timer_get_timecount;
@@ -323,11 +327,8 @@ acpi_timer_test()
n = 0;
else
n = 1;
- if (bootverbose) {
- printf("ACPI timer looks %s min = %d, max = %d, width = %d\n",
- n ? "GOOD" : "BAD ",
- min, max, max - min);
- }
+ if (bootverbose)
+ printf(" %d/%d", n, max-min);
return (n);
}