opnsense-src/sys/dev/dwc
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
..
dwc1000_core.c dwc: add receive checksum offload for IPv6 2026-01-21 20:53:16 +01:00
dwc1000_core.h dwc: Move the dma reset code in dwc1000_dma.c 2023-10-05 17:34:40 +02:00
dwc1000_dma.c dwc: add receive checksum offload for IPv6 2026-01-21 20:53:16 +01:00
dwc1000_dma.h dwc: Move the dma reset code in dwc1000_dma.c 2023-10-05 17:34:40 +02:00
dwc1000_reg.h dwc: fix DEBUG macro name 2024-02-27 18:10:14 -04:00
if_dwc.c chore: replace {0, 0} with {DEV,KOBJ}METHOD_END 2026-04-25 09:46:07 -07:00
if_dwc_aw.c regulator: Move regulator code in dev/regulator 2024-01-10 19:20:32 +01:00
if_dwc_cvitek.c if_dwc: Add support for cvitek ethernet controller 2025-08-01 14:35:54 +02:00
if_dwc_if.m dwc: Remove if_dwc_mac_type 2023-10-05 17:34:40 +02:00
if_dwc_rk.c syscon: Move syscon code in dev/syscon 2024-01-10 19:20:37 +01:00
if_dwc_socfpga.c hwreset: Move reset code in dev/hwreset 2024-01-10 19:20:28 +01:00
if_dwcvar.h dwc: Remove if_dwc_mac_type 2023-10-05 17:34:40 +02:00