opnsense-src/sys/dev/usb/controller
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
..
atmegadci.c sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
atmegadci.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
avr32dci.c sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
avr32dci.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
dwc3.c usb: Kill left-over cdefs.h includes 2025-03-11 09:41:19 -06:00
dwc3.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
dwc_otg.c sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
dwc_otg.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
dwc_otg_acpi.c usb: Kill left-over cdefs.h includes 2025-03-11 09:41:19 -06:00
dwc_otg_fdt.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
dwc_otg_fdt.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
dwc_otg_hisi.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
dwc_otgreg.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
ehci.c sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
ehci.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
ehci_fsl.c chore: replace {0, 0} with {DEV,KOBJ}METHOD_END 2026-04-30 07:39:21 +02:00
ehci_imx.c usb: Kill left-over cdefs.h includes 2025-03-11 09:41:19 -06:00
ehci_msm.c usb: Kill left-over cdefs.h includes 2025-03-11 09:41:19 -06:00
ehci_mv.c usb: Kill left-over cdefs.h includes 2025-03-11 09:41:19 -06:00
ehci_pci.c usb: Kill left-over cdefs.h includes 2025-03-11 09:41:19 -06:00
ehcireg.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
generic_ehci.c usb: Kill left-over cdefs.h includes 2025-03-11 09:41:19 -06:00
generic_ehci.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
generic_ehci_acpi.c usb: Kill left-over cdefs.h includes 2025-03-11 09:41:19 -06:00
generic_ehci_fdt.c usb: Kill left-over cdefs.h includes 2025-03-11 09:41:19 -06:00
generic_ohci.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
generic_usb_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
generic_xhci.c usb: Kill left-over cdefs.h includes 2025-03-11 09:41:19 -06:00
generic_xhci.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
generic_xhci_acpi.c usb: Kill left-over cdefs.h includes 2025-03-11 09:41:19 -06:00
generic_xhci_fdt.c usb: Kill left-over cdefs.h includes 2025-03-11 09:41:19 -06:00
musb_otg.c sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
musb_otg.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
musb_otg_allwinner.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
ohci.c sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
ohci.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
ohci_pci.c usb: Kill left-over cdefs.h includes 2025-03-11 09:41:19 -06:00
ohcireg.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
uhci.c sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
uhci.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
uhci_pci.c usb: Kill left-over cdefs.h includes 2025-03-11 09:41:19 -06:00
uhcireg.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
usb_controller.c kern: Remove leftover saf1761otg bits 2024-06-06 11:23:01 -03:00
usb_nop_xceiv.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
uss820dci.c sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
uss820dci.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
xhci.c sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
xhci.h xhci: Add support for 64-bit DMA in generic XHCI controller driver 2023-08-19 20:05:45 -04:00
xhci_pci.c usb: Kill left-over cdefs.h includes 2025-03-11 09:41:19 -06:00
xhcireg.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
xlnx_dwc3.c usb: Kill left-over cdefs.h includes 2025-03-11 09:41:19 -06:00