diff options
author | njl <njl@FreeBSD.org> | 2005-02-27 02:43:02 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2005-02-27 02:43:02 +0000 |
commit | 0dae5d8c1d1ea90f8518e5d25c44ab7bb0d82ace (patch) | |
tree | d74a00967ac027e61016fbf7128f8de321bdb358 /sys/dev/acpica/acpi_perf.c | |
parent | ada3533e8b6a7346419b1f7821c9e8e434fe5054 (diff) | |
download | FreeBSD-src-0dae5d8c1d1ea90f8518e5d25c44ab7bb0d82ace.zip FreeBSD-src-0dae5d8c1d1ea90f8518e5d25c44ab7bb0d82ace.tar.gz |
Make a pass through all drivers checking specs for desired behavior on
SMP systems. It appears all drivers except ichss should attach to each
CPU and that settings should be performed on each CPU. Add comments about
this. Also, add a guard for p4tcc's identify method being called more than
once.
Diffstat (limited to 'sys/dev/acpica/acpi_perf.c')
-rw-r--r-- | sys/dev/acpica/acpi_perf.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/acpica/acpi_perf.c b/sys/dev/acpica/acpi_perf.c index 2307000..ab17a56 100644 --- a/sys/dev/acpica/acpi_perf.c +++ b/sys/dev/acpica/acpi_perf.c @@ -152,6 +152,11 @@ acpi_perf_identify(driver_t *driver, device_t parent) return; if (ACPI_FAILURE(AcpiEvaluateObject(handle, "_PSS", NULL, NULL))) return; + + /* + * Add a child to every CPU that has the right methods. In future + * versions of the ACPI spec, CPUs can have different settings. + */ if (BUS_ADD_CHILD(parent, 0, "acpi_perf", -1) == NULL) device_printf(parent, "add acpi_perf child failed\n"); } |