opnsense-src/sys/dev/pci
John Baldwin 14cb463635 pcib: Clear any pending slot status events during attach
Any events left over from boot firmware, etc. are not meaningful so
clear pending events during attach.  If they are still pending they
should remain asserted when the slot status register is re-read.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D49950

(cherry picked from commit ff45e4759a38f44a0199b2948b7b1e987e7c71da)
2025-04-29 10:46:40 -04:00
..
controller sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
fixup_pci.c fixup_pci: Remove unused attach DEVMETHOD 2024-11-30 21:46:05 -05:00
hostb_pci.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
ignore_pci.c ignore_pci: Add a proper stub attach routine 2024-11-30 21:46:05 -05:00
isa_pci.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
pci.c pci: Add helper routines to manage PME in device drivers 2025-04-29 10:44:58 -04:00
pci_dw.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -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 sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
pci_host_generic.c pci_host_generic: Use SYS_RES_MEMORY for the parent of I/O resource ranges 2025-04-29 10:18:35 -04:00
pci_host_generic.h pci: avoid accidental clobbering of regs on some fdt platforms 2025-04-29 10:17:50 -04:00
pci_host_generic_acpi.c pci: avoid accidental clobbering of regs on some fdt platforms 2025-04-29 10:17:50 -04:00
pci_host_generic_acpi.h pci_host_generic:Add pcib_request_feature on ACPI 2025-04-01 10:43:57 -07:00
pci_host_generic_den0115.c sys: Use the new arm_smccc_invoke macros 2024-10-21 15:03:27 +00:00
pci_host_generic_fdt.c pci: avoid accidental clobbering of regs on some fdt platforms 2025-04-29 10:17:50 -04: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 pci: Consistently use pci_vf_* for suballocated VF memory resources 2025-02-27 08:09:23 -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-07-01 18:06:05 +02:00
pci_pci.c pcib: Clear any pending slot status events during attach 2025-04-29 10:46:40 -04:00
pci_private.h pci: Renove #ifdef PCI_IOV from declarations now used unconditionally 2025-02-27 08:09:24 -05:00
pci_subr.c sys: Set the type of allocated bus resources 2025-02-27 08:09:23 -05:00
pci_user.c pci_user.c: Cosmetic fixes 2024-12-27 10:29:23 -05:00
pcib_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
pcib_private.h pcib: Add helper routines for [de]activating PCI_RES_BUS resources 2025-02-27 08:09:19 -05:00
pcib_support.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
pcireg.h pci: Don't cache the count of MSI/MSI-X messages before allocation 2025-04-29 10:24:32 -04:00
pcivar.h pci: Add helper routines to manage PME in device drivers 2025-04-29 10:44:58 -04:00
schema_private.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
vga_pci.c vga_pci: Use bus_generic_* directly instead of wrappers 2024-11-30 21:46:08 -05:00