opnsense-src/sys/dev/pci
Andrew Turner 143dff0f9c pci: Only claim to support PCI ASPM on x86
We claim to support Active State Power Management, but don't appear to
do anything different in the kernel when it's enabled other than tell
the firmware we do.

This breaks VMware Fusion on Apple Silicon when it's enabled as it
expects the kernel to enable the ports. As it is reported to be needed
on some x86 servers keep it enabled there, but disable on non-x86
architectures.

Reported by:	kp, tuexen
Reviewed by:	tuexen, mav, imp, jhb
Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D48303
2025-01-03 16:10:41 +00:00
..
controller Replace calls to bus_generic_attach with bus_attach_children 2024-12-06 17:26:16 -05:00
fixup_pci.c fixup_pci: Remove unused attach DEVMETHOD 2024-10-31 15:49:05 -04:00
hostb_pci.c Replace calls to bus_generic_attach with bus_attach_children 2024-12-06 17:26:16 -05:00
ignore_pci.c ignore_pci: Add a proper stub attach routine 2024-10-31 15:49:27 -04:00
isa_pci.c Replace calls to bus_generic_probe with bus_identify_children 2024-12-06 17:26:05 -05:00
pci.c pci: Only claim to support PCI ASPM on x86 2025-01-03 16:10:41 +00:00
pci_dw.c newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
pci_dw.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
pci_dw_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
pci_dw_mv.c Replace calls to bus_generic_attach with bus_attach_children 2024-12-06 17:26:16 -05:00
pci_host_generic.c pci: avoid accidental clobbering of regs on some fdt platforms 2024-12-28 21:57:03 -06: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 pci: avoid accidental clobbering of regs on some fdt platforms 2024-12-28 21:57:03 -06: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 Replace calls to bus_generic_attach with bus_attach_children 2024-12-06 17:26:16 -05:00
pci_host_generic_fdt.c pci: avoid accidental clobbering of regs on some fdt platforms 2024-12-28 21:57:03 -06:00
pci_host_generic_fdt.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
pci_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
pci_iov.c Replace calls to bus_generic_attach with bus_attach_children 2024-12-06 17:26:16 -05:00
pci_iov.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
pci_iov_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
pci_iov_private.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
pci_iov_schema.c iovctl: allow vlan restrictions to be passed to the driver 2024-06-17 10:50:15 +02:00
pci_pci.c Use bus_detach_children instead of bus_generic_detach 2025-01-02 13:19:39 -05:00
pci_private.h pci: Renove #ifdef PCI_IOV from declarations now used unconditionally 2024-08-08 23:35:09 +01:00
pci_subr.c Retire unused non-PCI_RES_BUS code 2024-07-18 18:55:33 +01:00
pci_user.c pci_user.c: Cosmetic fixes 2024-11-13 11:10:27 -05:00
pcib_if.m pci: Fix typo (triple S) 2023-12-27 20:24:31 -07:00
pcib_private.h Retire unused non-PCI_RES_BUS code 2024-07-18 18:55:33 +01:00
pcib_support.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
pcireg.h pcireg.h: Add AMD IOMMU Base Cap definitions 2024-04-10 08:28:24 +03:00
pcivar.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
schema_private.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
vga_pci.c Use the new bus_generic_detach directly in place of home-grown versions 2025-01-02 13:22:20 -05:00