From 704b96509d3c720be382f13d3d020b40acc21e31 Mon Sep 17 00:00:00 2001 From: Olivier Certner Date: Mon, 4 May 2026 14:57:05 +0200 Subject: [PATCH] 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 36a2c20e6be..b13e78b8000 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);