opnsense-src/sys/dev/cxgbe
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
..
common cxgbe(4): Consolidate all mk_set_tcb_field_ulp in one place. 2024-07-16 23:39:43 -07:00
crypto cxgbe(4): Rename rx_c_chan to rx_chan. 2024-07-16 23:38:40 -07:00
cudbg sys: Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:17 -06:00
cxgbei chore: replace {0, 0} with {DEV,KOBJ}METHOD_END 2026-04-30 07:39:21 +02:00
firmware cxgbe(4): Add two new transceiver types. 2025-04-22 04:12:46 -07:00
iw_cxgbe cxgbe/iw_cxgbe: Fail early in some callbacks when the RNIC is stopped. 2024-10-21 10:08:56 -07:00
tom cxgbe(4): Block most access to the hardware as soon as the adapter stops. 2025-04-22 04:12:46 -07:00
adapter.h cxgbe(4): Block most access to the hardware as soon as the adapter stops. 2025-04-22 04:12:46 -07:00
if_cc.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
if_ccv.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
if_cxl.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
if_cxlv.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
offload.h cxgbe/t4_tom: Change stid allocation strategy to be more IPv6 friendly. 2024-12-06 12:34:28 -08:00
osdep.h libkern: add ilog2 macro 2025-02-10 04:27:12 -06:00
t4_clip.c cxgbe(4): Block most access to the hardware as soon as the adapter stops. 2025-04-22 04:12:46 -07:00
t4_clip.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
t4_filter.c cxgbe(4): Block most access to the hardware as soon as the adapter stops. 2025-04-22 04:12:46 -07:00
t4_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
t4_ioctl.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
t4_iov.c cxgbe(4): Update the board names of the T6 OCP cards. 2024-12-06 10:22:36 -08:00
t4_l2t.c cxgbe(4): Make sure suspend/resume works in recovery mode. 2025-04-22 04:12:45 -07:00
t4_l2t.h cxgbe(4): Remove smt_idx from the L2 table entry structure. 2025-04-22 04:12:45 -07:00
t4_main.c chore: replace {0, 0} with {DEV,KOBJ}METHOD_END 2026-04-30 07:39:21 +02:00
t4_mp_ring.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
t4_mp_ring.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
t4_netmap.c cxgbe: Flush transmitted packets more regularly in netmap mode 2024-08-08 15:55:48 +00:00
t4_sched.c cxgbe(4): sc->port is indexed by port_id and not tx_chan. 2024-07-16 23:39:32 -07:00
t4_sge.c cxgbe(4): Stop work request queues in a reliable manner. 2024-10-21 10:06:19 -07:00
t4_smt.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
t4_smt.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
t4_tracer.c net: Remove unneeded NULL check for the allocated ifnet 2024-07-12 20:03:37 +08:00
t4_vf.c cxgbe(4): Update the board names of the T6 OCP cards. 2024-12-06 10:22:36 -08:00