diff options
| author | Olivier Certner <olce@FreeBSD.org> | 2026-05-04 11:38:58 +0000 |
|---|---|---|
| committer | Olivier Certner <olce@FreeBSD.org> | 2026-05-13 12:38:13 +0000 |
| commit | a652d97630599c089a722d4cb881e2731c5336a8 (patch) | |
| tree | 930106b998573d8a63016daeb85a92927e2dcccb | |
| parent | d649825e83482f796f492f2000b20ce1b5db6f63 (diff) | |
acpi_spmc(4): Fix comments on constraints storage
The fields themselves are not unused, we actually fill them, but once
filled we indeed do not use their values (yet). See the '#ifdef notyet'
section in acpi_spmc_check_constraints().
No functional change.
Reviewed by: emaste, obiwac, imp
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56798
| -rw-r--r-- | sys/dev/acpica/acpi_spmc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/acpica/acpi_spmc.c b/sys/dev/acpica/acpi_spmc.c index 03944800327d..d8fa5617c8bf 100644 --- a/sys/dev/acpica/acpi_spmc.c +++ b/sys/dev/acpica/acpi_spmc.c @@ -150,11 +150,11 @@ struct acpi_spmc_constraint { int min_d_state; ACPI_HANDLE handle; - /* Unused, spec only. */ + /* Intel only. Currently filled but unused. */ uint64_t lpi_uid; uint64_t min_dev_specific_state; - /* Unused, AMD only. */ + /* AMD only. Currently filled but unused. */ uint64_t function_states; }; |
