git: 704b96509d3c - main - acpi_spmc(4): Constraints: Rename the Intel-format parser
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 13 May 2026 12:39:37 UTC
The branch main has been updated by olce:
URL: https://cgit.FreeBSD.org/src/commit/?id=704b96509d3c720be382f13d3d020b40acc21e31
commit 704b96509d3c720be382f13d3d020b40acc21e31
Author: Olivier Certner <olce@FreeBSD.org>
AuthorDate: 2026-05-04 12:57:05 +0000
Commit: Olivier Certner <olce@FreeBSD.org>
CommitDate: 2026-05-13 12:38:19 +0000
acpi_spmc(4): Constraints: Rename the Intel-format parser
...from acpi_spmc_get_constraints_spec() to
acpi_spmc_get_constraints_intel(), as really there is no ACPI
specification proper and parsing the constraints is done according to
some *Intel* specification (even if it is true that, by contrast, AMD
has none).
No functional change (intended).
Reviewed by: obiwac, imp
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56800
---
sys/dev/acpica/acpi_spmc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/dev/acpica/acpi_spmc.c b/sys/dev/acpica/acpi_spmc.c
index 36a2c20e6be8..b13e78b8000b 100644
--- a/sys/dev/acpica/acpi_spmc.c
+++ b/sys/dev/acpica/acpi_spmc.c
@@ -301,7 +301,7 @@ acpi_spmc_free_constraints(struct acpi_spmc_softc *sc)
}
static int
-acpi_spmc_get_constraints_spec(struct acpi_spmc_softc *sc, ACPI_OBJECT *object)
+acpi_spmc_get_constraints_intel(struct acpi_spmc_softc *sc, ACPI_OBJECT *object)
{
struct acpi_spmc_constraint *constraint;
int revision;
@@ -465,7 +465,7 @@ acpi_spmc_get_constraints(device_t dev)
if (is_amd)
rv = acpi_spmc_get_constraints_amd(sc, object);
else
- rv = acpi_spmc_get_constraints_spec(sc, object);
+ rv = acpi_spmc_get_constraints_intel(sc, object);
AcpiOsFree(object);
if (rv != 0)
return (rv);