opnsense-src/sys/dev/usb/controller
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
..
dwc3 usb: Kill left-over cdefs.h includes 2025-03-04 14:44:22 -07: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
dwc_otg.c newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -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-04 14:44:22 -07:00
dwc_otg_fdt.c dwc_otg_fdt: do not create and leak extra usbus child 2025-05-19 12:08:43 +03: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: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07: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-25 09:46:07 -07:00
ehci_imx.c usb: Kill left-over cdefs.h includes 2025-03-04 14:44:22 -07:00
ehci_msm.c usb: Kill left-over cdefs.h includes 2025-03-04 14:44:22 -07:00
ehci_mv.c usb: Kill left-over cdefs.h includes 2025-03-04 14:44:22 -07:00
ehci_pci.c usb: Kill left-over cdefs.h includes 2025-03-04 14:44:22 -07: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-04 14:44:22 -07: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-04 14:44:22 -07:00
generic_ehci_fdt.c usb: Kill left-over cdefs.h includes 2025-03-04 14:44:22 -07:00
generic_ohci.c Use bus_generic_detach instead of device_delete_children in detach 2025-01-02 13:24:28 -05: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-04 14:44:22 -07: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-04 14:44:22 -07:00
generic_xhci_fdt.c usb: Kill left-over cdefs.h includes 2025-03-04 14:44:22 -07: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 riscv: enable Allwinner D1 USB drivers 2025-01-10 13:57:36 -04: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-04 14:44:22 -07: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-04 14:44:22 -07:00
uhcireg.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
usb_controller.c usb: Use bus_detach_children instead of bus_generic_detach 2025-03-12 10:54:49 -04:00
usb_nop_xceiv.c phy: Move phy code in dev/phy 2024-01-10 19:20:34 +01: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 xhci: Parse and print extended capabilities 2025-09-02 10:37:08 +01: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 Add random Intel Elkhart Lake device IDs. 2025-10-20 10:11:22 -04:00
xhcireg.h xhci: Parse and print extended capabilities 2025-09-02 10:37:08 +01:00
xlnx_dwc3.c usb: Kill left-over cdefs.h includes 2025-03-04 14:44:22 -07:00