opnsense-src/sys/dev/pci
Enji Cooper 1b5bee9b2d chore: replace {0, 0} with {DEV,KOBJ}METHOD_END
Both of the aforementioned macros have been present in FreeBSD
for well over a decade: 2009 for `KOBJMETHOD_END`; 2011 for
`DEVMETHOD_END`.

Adapt all hardcoded references of `{0, 0}` with `DEVMETHOD_END`
and `KOBJMETHOD_END` as appropriate. This helps ensure that
future adaptations to drivers following patterns documented
in driver(9) can be made more easily/without issue.

MFC after:	1 week
Differential Revision:	 https://reviews.freebsd.org/D55414

MFC notes:
- All changes to nvme/nvd were dropped as they didn't apply.
- Change to ufshci_pci.c was adjusted to match code in branch.

Conflicts:
	sys/dev/nvd/nvd.c
	sys/dev/nvme/nvme_sim.c
	sys/dev/ufshci/ufshci_pci.c

(cherry picked from commit 0fc6c3f731a2cca3120798806c330a3081c9424b)
2026-04-25 09:46:07 -07:00
..
controller pci/n1sdp: Disable HotPlug 2026-01-13 14:06:19 +00:00
fixup_pci.c chore: replace {0, 0} with {DEV,KOBJ}METHOD_END 2026-04-25 09:46:07 -07:00
hostb_pci.c chore: replace {0, 0} with {DEV,KOBJ}METHOD_END 2026-04-25 09:46:07 -07:00
ignore_pci.c chore: replace {0, 0} with {DEV,KOBJ}METHOD_END 2026-04-25 09:46:07 -07: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: Export bus numbers for bridge devices in struct pci_conf 2026-04-24 13:33:53 -04:00
pci_dw.c sys: Reduce where we include sys/devmap.h 2025-05-02 16:39:04 +01: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: 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 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_iov: Support dynamic subordinate bus growth during VF creation 2025-07-29 15:09:53 -04: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 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: Assume a window where both the base and limit are 0 is uninitialized 2026-04-24 11:39:43 -04: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: Export bus numbers for bridge devices in struct pci_conf 2026-04-24 13:33:53 -04: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 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 sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
vga_pci.c chore: replace {0, 0} with {DEV,KOBJ}METHOD_END 2026-04-25 09:46:07 -07:00