freebsd-dev/sys/dev/acpica
Poul-Henning Kamp cb877d0050 Add a new test_counter() function which tries to determine the width of
the inter-value histogram for 2000 samples.  If the width is 3 or less
for 10 consequtive samples, we trust the counter to be good, otherwise
we use the *_safe() method.

This method may be too strict, but the worst which can happen is that
we take the performance hit of the *_safe() method when we should not.

Make the *_safe() method more discriminating by mandating that the three
samples do not span more than 15 ticks on the counter.

Disable the PCI-ident based probing as a means to recognize good
counters.

Inspiration from:	dillon and msmith
2002-02-25 09:51:17 +00:00
..
Osd AcpiOsPrintf and AcpiOsVprintf now return void. 2002-02-23 05:32:51 +00:00
acpi_acad.c Match namespace cleanup changes in ACPI CA 20020217 update. 2002-02-23 05:26:45 +00:00
acpi_battery.c Staticise devclasses and some unnecessarily global variables. 2002-01-08 06:46:01 +00:00
acpi_button.c Match namespace cleanup changes in ACPI CA 20020217 update. 2002-02-23 05:26:45 +00:00
acpi_cmbat.c Match namespace cleanup changes in ACPI CA 20020217 update. 2002-02-23 05:24:14 +00:00
acpi_cpu.c Match namespace cleanup changes in ACPI CA 20020217 update. 2002-02-23 05:26:45 +00:00
acpi_ec.c Match namespace cleanup changes in ACPI CA 20020217 update. 2002-02-23 05:26:31 +00:00
acpi_lid.c Match namespace cleanup changes in ACPI CA 20020217 update. 2002-02-23 05:26:45 +00:00
acpi_pcib_acpi.c Match namespace cleanup changes in ACPI CA 20020217 update. 2002-02-23 05:27:49 +00:00
acpi_pcib.c Match namespace cleanup changes in ACPI CA 20020217 update. 2002-02-23 05:27:49 +00:00
acpi_powerprofile.c Add missing includes of sys/lock.h. 2001-10-11 17:52:20 +00:00
acpi_powerres.c Match namespace cleanup changes in ACPI CA 20020217 update. 2002-02-23 05:28:22 +00:00
acpi_resource.c Match namespace cleanup changes in ACPI CA 20020217 update. 2002-02-23 05:28:22 +00:00
acpi_thermal.c The thermal thread needs to take Giant before it does anything with the 2002-02-25 02:21:22 +00:00
acpi_timer.c Add a new test_counter() function which tries to determine the width of 2002-02-25 09:51:17 +00:00
acpi.c Match namespace cleanup changes in ACPI CA 20020217 update. 2002-02-23 05:21:56 +00:00
acpica_support.c Match namespace cleanup changes in ACPI CA 20020217 update. 2002-02-23 05:31:38 +00:00
acpica_support.h Add S4BIOS sleep (BIOS hibernation) and DSDT overriding support. 2001-11-06 15:00:30 +00:00
acpiio.h Add sysctl interface (Read-only) for temprature, AC-line and Battery. 2001-06-23 10:38:25 +00:00
acpivar.h Add our own private defines for driver debug layers. 2002-02-23 05:30:54 +00:00