opnsense-src/sys/dev/usb/net
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
..
if_aue.c usb: Kill left-over cdefs.h includes 2025-03-11 09:41:19 -06:00
if_auereg.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
if_axe.c usb: Kill left-over cdefs.h includes 2025-03-11 09:41:19 -06:00
if_axereg.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
if_axge.c usb: Kill left-over cdefs.h includes 2025-03-11 09:41:19 -06:00
if_axgereg.h axge: Add support for AX88179A 2023-10-11 09:16:14 -04:00
if_cdce.c usb: Kill left-over cdefs.h includes 2025-03-11 09:41:19 -06:00
if_cdceem.c usb: Kill left-over cdefs.h includes 2025-03-11 09:41:19 -06:00
if_cdcereg.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
if_cue.c usb: Kill left-over cdefs.h includes 2025-03-11 09:41:19 -06:00
if_cuereg.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
if_ipheth.c usb: Kill left-over cdefs.h includes 2025-03-11 09:41:19 -06:00
if_iphethvar.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
if_kue.c usb: Kill left-over cdefs.h includes 2025-03-11 09:41:19 -06:00
if_kuefw.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
if_kuereg.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
if_mos.c usb: Kill left-over cdefs.h includes 2025-03-11 09:41:19 -06:00
if_mosreg.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
if_muge.c usb: Kill left-over cdefs.h includes 2025-03-11 09:41:19 -06:00
if_mugereg.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
if_rue.c usb: Kill left-over cdefs.h includes 2025-03-11 09:41:19 -06:00
if_ruereg.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
if_smsc.c usb: Kill left-over cdefs.h includes 2025-03-11 09:41:19 -06:00
if_smscreg.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
if_udav.c usb: Kill left-over cdefs.h includes 2025-03-11 09:41:19 -06:00
if_udavreg.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
if_ure.c ure(4): Add support for ELECOM EDC-QUA3C 2025-02-07 14:46:53 +00:00
if_urereg.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
if_urndis.c usb: Kill left-over cdefs.h includes 2025-03-11 09:41:19 -06:00
if_urndisreg.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
if_usie.c net: Remove unneeded NULL check for the allocated ifnet 2024-07-12 20:03:37 +08:00
if_usievar.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
ruephy.c usb: Kill left-over cdefs.h includes 2025-03-11 09:41:19 -06:00
ruephyreg.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
uhso.c chore: replace {0, 0} with {DEV,KOBJ}METHOD_END 2026-04-30 07:39:21 +02:00
usb_ethernet.c net: Remove unneeded NULL check for the allocated ifnet 2024-07-12 20:03:37 +08:00
usb_ethernet.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00