opnsense-src/sys/dev/nvme
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
..
nvme.c nvme: Use proper prototype for SYSINIT functions 2026-02-01 01:01:02 +08:00
nvme.h nvme: Use memcpy instead of memmove in nvme_cdata_get_disk_ident 2026-04-24 11:26:37 -04:00
nvme_ahci.c chore: replace {0, 0} with {DEV,KOBJ}METHOD_END 2026-04-25 09:46:07 -07:00
nvme_ctrlr.c nvme: Abstract out function to obtain a disk ident string from cdata 2026-04-24 11:26:37 -04:00
nvme_ctrlr_cmd.c nvme: Style tweaks 2025-08-28 10:32:39 -06:00
nvme_linux.h nvme: Add Linux copatible ioctls 2024-06-14 16:40:08 -06:00
nvme_ns.c nvme: Abstract out function to obtain a disk ident string from cdata 2026-04-24 11:26:37 -04:00
nvme_ns_cmd.c nvme: Pass malloc flags to request allocation functions 2024-11-09 17:34:12 +00:00
nvme_pci.c chore: replace {0, 0} with {DEV,KOBJ}METHOD_END 2026-04-25 09:46:07 -07:00
nvme_private.h nvme: Abstract out function to obtain a disk ident string from cdata 2026-04-24 11:26:37 -04:00
nvme_qpair.c nvme: Replace bus_space_[read|write]_4 with bus_[read|write]_4 2026-04-13 15:54:16 -04:00
nvme_sim.c nvme: Use proper prototype for SYSINIT functions 2026-02-01 01:01:02 +08:00
nvme_sysctl.c nvme: Style tweaks 2025-08-28 10:32:39 -06:00
nvme_test.c Reduce reliance on sys/sysproto.h pollution 2024-04-15 21:35:40 +01:00
nvme_util.c nvme: Always print the opcode hex and sct/sc hex values 2025-09-03 09:55:24 -06:00