opnsense-src/sys/dev/hyperv
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
..
hvsock hvsock: Fix a typo in a source code comment 2024-01-07 12:42:45 +01:00
include sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
input chore: replace {0, 0} with {DEV,KOBJ}METHOD_END 2026-04-30 07:39:21 +02:00
netvsc Hyper-V: hn: rewrite hn rsc swtich to avoid sysctl hang 2025-03-12 08:18:01 +00:00
pcib hyperv vmbus_pcib: Use pci_domain_*_bus for PCI_RES_BUS resources 2025-02-27 08:09:20 -05:00
storvsc hyperv/storvsc: Avoid conditional asserts in storvsc_xferbuf_prepare() 2025-04-15 02:25:24 +00:00
utilities chore: replace {0, 0} with {DEV,KOBJ}METHOD_END 2026-04-30 07:39:21 +02:00
vmbus sys: Use the new arm_smccc_invoke macros 2024-10-21 15:03:27 +00:00