Hide the ACPI counter probing printf behind bootverbose.

The conclusion is that this method really can tell the perfect from the
less than perfect ACPI counters.

It is in fact probably a bit more discriminative than that, but we
will rather condemn some otherwise perfect counters to the slightly
slower "-safe" version, than certify a counter as perfect which
will let us down later.

Many thanks to all the people who sent email reports!
This commit is contained in:
Poul-Henning Kamp 2002-03-24 11:33:52 +00:00
parent c543d983fa
commit 116caf7cf7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=93093

View file

@ -131,9 +131,10 @@ test_counter()
n = 0;
else
n = 1;
printf("ACPI timer looks %s min = %d, max = %d, width = %d\n",
n ? "GOOD" : "BAD ",
min, max, max - min + 1);
if (bootverbose)
printf("ACPI timer looks %s min = %d, max = %d, width = %d\n",
n ? "GOOD" : "BAD ",
min, max, max - min + 1);
return (n);
}