git: 00ff89c1e0c8 - main - acpi: Treat ACPI_IVAR_FLAGS as a global IVAR

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Wed, 04 Mar 2026 20:19:59 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=00ff89c1e0c8d92fe644ea97b521ceb66d46e170

commit 00ff89c1e0c8d92fe644ea97b521ceb66d46e170
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2026-03-04 20:19:48 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2026-03-04 20:19:48 +0000

    acpi: Treat ACPI_IVAR_FLAGS as a global IVAR
    
    The ACPI bus uses the flags IVAR for any device with a _PRW method
    including devices such as PCI bridges/devices that are not direct
    children of acpi0.
    
    Reported by:    ngie
    Reviewed by:    ngie
    Fixes:          0bb867e9f565 ("acpi: Split ACPI IVARs into global and private sets")
    Differential Revision:  https://reviews.freebsd.org/D55561
---
 sys/dev/acpica/acpivar.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/dev/acpica/acpivar.h b/sys/dev/acpica/acpivar.h
index b86c6c1aa3c6..1099e7a25b0a 100644
--- a/sys/dev/acpica/acpivar.h
+++ b/sys/dev/acpica/acpivar.h
@@ -279,9 +279,9 @@ extern int	acpi_override_isa_irq_polarity;
  */
 enum {
 	ACPI_IVAR_PRIVATE = 20,
-	ACPI_IVAR_FLAGS,
 	ACPI_IVAR_DOMAIN,
-	ACPI_IVAR_HANDLE = BUS_IVARS_ACPI
+	ACPI_IVAR_HANDLE = BUS_IVARS_ACPI,
+	ACPI_IVAR_FLAGS
 };
 
 /*