opnsense-src/sys/dev/dpaa
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
..
bman.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
bman.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
bman_fdt.c chore: replace {0, 0} with {DEV,KOBJ}METHOD_END 2026-04-30 07:39:21 +02:00
bman_portals.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
fman.c sys: Set the type of allocated bus resources 2025-02-27 08:09:23 -05:00
fman.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
fman_fdt.c chore: replace {0, 0} with {DEV,KOBJ}METHOD_END 2026-04-30 07:39:21 +02:00
fman_mdio.c chore: replace {0, 0} with {DEV,KOBJ}METHOD_END 2026-04-30 07:39:21 +02:00
if_dtsec.c net: Remove unneeded NULL check for the allocated ifnet 2024-07-12 20:03:37 +08:00
if_dtsec.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
if_dtsec_fdt.c chore: replace {0, 0} with {DEV,KOBJ}METHOD_END 2026-04-30 07:39:21 +02:00
if_dtsec_im.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
if_dtsec_im.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
if_dtsec_rm.c dpaa: uma_zcreate() does not fail 2024-05-02 09:25:08 -04:00
if_dtsec_rm.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
portals.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
portals_common.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
qman.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
qman.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
qman_fdt.c chore: replace {0, 0} with {DEV,KOBJ}METHOD_END 2026-04-30 07:39:21 +02:00
qman_portals.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00