opnsense-src/sys/dev/nvme
Enji Cooper 6b41d9082e 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 conflicts were dropped as they didn't apply to code in branch.

Conflicts:
	sys/dev/flash/w25n.c
	sys/dev/nvd/nvd.c
	sys/dev/nvme/nvme_sim.c
	sys/dev/sound/pci/hdsp-pcm.c
	sys/dev/sound/pci/hdsp.c
	sys/dev/ufshci/ufshci_pci.c

(cherry picked from commit 0fc6c3f731a2cca3120798806c330a3081c9424b)
2026-04-30 07:39:21 +02:00
..
nvme.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
nvme.h nvme: Eliminate intel_log_temp_stats_swapbytes 2024-08-26 14:31:03 -04:00
nvme_ahci.c chore: replace {0, 0} with {DEV,KOBJ}METHOD_END 2026-04-30 07:39:21 +02:00
nvme_ctrlr.c nvme: Fix hotplug on one of the amazon platforms 2025-03-30 16:44:57 -07:00
nvme_ctrlr_cmd.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
nvme_ns.c nvme: Use the NVMEF macro to construct fields 2024-08-26 13:27:08 -04:00
nvme_ns_cmd.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
nvme_pci.c chore: replace {0, 0} with {DEV,KOBJ}METHOD_END 2026-04-30 07:39:21 +02:00
nvme_private.h nvme: Export constants for min and max queue sizes 2024-08-26 14:27:21 -04:00
nvme_qpair.c nvme: Use the NVMEF macro to construct fields 2024-08-26 13:27:08 -04:00
nvme_sim.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
nvme_sysctl.c nvme: Introduce longer timeouts for admin queue 2023-11-14 07:54:18 -05:00
nvme_test.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
nvme_util.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00