opnsense-src/sys/dev/pci
Aymeric Wibo 6882fc4cc4
pci: Fix dependency on ACPICA for non-ACPI builds
Commit 84bbfc32a3 introduced a dependency on ACPICA for non-ACPI
builds.  This removes that unintended dependency.

While here, print "D3hot" for D3hot in ACPI code instead of just "D3",
as it was unclear whether that referred to D3hot or D3cold and was
inconsistent with the `PCI_POWERSTATE_D3` and `ACPI_D_STATE_D3` defines.

Reported by:	jrtc27, freebsd@sysctl.cz
Reviewed by:	jrtc27, des, jrm (mentor)
Approved by:	jrtc27, jrm (mentor)
Fixes:		84bbfc32a3 ("acpi_powerres: D3cold support")
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D51823
2025-08-09 00:30:06 +02:00
..
controller Replace calls to bus_generic_attach with bus_attach_children 2024-12-06 17:26:16 -05:00
fixup_pci.c
hostb_pci.c Replace calls to bus_generic_attach with bus_attach_children 2024-12-06 17:26:16 -05:00
ignore_pci.c
isa_pci.c Replace calls to bus_generic_probe with bus_identify_children 2024-12-06 17:26:05 -05:00
pci.c pci: Fix dependency on ACPICA for non-ACPI builds 2025-08-09 00:30:06 +02:00
pci_dw.c sys: Reduce where we include sys/devmap.h 2025-05-02 16:39:04 +01:00
pci_dw.h
pci_dw_if.m
pci_dw_mv.c sys: Reduce where we include sys/devmap.h 2025-05-02 16:39:04 +01:00
pci_host_generic.c pci_host_generic: Use SYS_RES_MEMORY for the parent of I/O resource ranges 2025-01-21 11:02:34 -05:00
pci_host_generic.h pci: avoid accidental clobbering of regs on some fdt platforms 2024-12-28 21:57:03 -06:00
pci_host_generic_acpi.c sys: Make the iommu xref uintptr_t 2025-04-08 11:48:22 +01:00
pci_host_generic_acpi.h pci_host_generic:Add pcib_request_feature on ACPI 2024-12-12 18:00:23 +00:00
pci_host_generic_den0115.c newbus: replace leftover device unit wildcards 2025-06-21 05:57:45 +03:00
pci_host_generic_fdt.c sys: Make the iommu xref uintptr_t 2025-04-08 11:48:22 +01:00
pci_host_generic_fdt.h
pci_if.m
pci_iov.c pci_iov: Support dynamic subordinate bus growth during VF creation 2025-07-29 15:09:53 -04:00
pci_iov.h
pci_iov_if.m
pci_iov_private.h pci_iov: Support dynamic subordinate bus growth during VF creation 2025-07-29 15:09:53 -04:00
pci_iov_schema.c machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +01:00
pci_pci.c pcib: Clear any pending slot status events during attach 2025-04-21 22:08:17 -04:00
pci_private.h
pci_subr.c
pci_user.c pci_user.c: Cosmetic fixes 2024-11-13 11:10:27 -05:00
pcib_if.m
pcib_private.h
pcib_support.c
pcireg.h pci: Don't cache the count of MSI/MSI-X messages before allocation 2025-02-11 09:11:48 -05:00
pcivar.h pci: Fix dependency on ACPICA for non-ACPI builds 2025-08-09 00:30:06 +02:00
schema_private.h
vga_pci.c Use the new bus_generic_detach directly in place of home-grown versions 2025-01-02 13:22:20 -05:00