opnsense-src/sys/dev/usb
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
..
controller chore: replace {0, 0} with {DEV,KOBJ}METHOD_END 2026-04-30 07:39:21 +02:00
gadget
input chore: replace {0, 0} with {DEV,KOBJ}METHOD_END 2026-04-30 07:39:21 +02:00
misc usb: Kill left-over cdefs.h includes 2025-03-11 09:41:19 -06:00
net chore: replace {0, 0} with {DEV,KOBJ}METHOD_END 2026-04-30 07:39:21 +02:00
quirk Move support of Realtek 8156/8156B from cdce(4) to ure(4) 2024-10-21 10:58:35 +08:00
serial usb: Kill left-over cdefs.h includes 2025-03-11 09:41:19 -06:00
storage usb: Kill left-over cdefs.h includes 2025-03-11 09:41:19 -06:00
template usb: Kill left-over cdefs.h includes 2025-03-11 09:41:19 -06:00
video
wlan usb: Kill left-over cdefs.h includes 2025-03-11 09:41:19 -06:00
ufm_ioctl.h
uftdiio.h
uled_ioctl.h
usb.h usb: increase USB_PORT_RESET_RECOVERY 2025-03-25 19:28:38 -06:00
usb_bus.h
usb_busdma.c
usb_busdma.h
usb_cdc.h
usb_controller.h
usb_core.c
usb_core.h
usb_debug.c
usb_debug.h
usb_dev.c kern: Make fileops and filterops tables const where possible 2024-12-03 01:03:42 +00:00
usb_dev.h
usb_device.c usb: fix loop in usb_config_parse 2024-11-13 09:26:44 -05:00
usb_device.h
usb_dynamic.c
usb_dynamic.h
usb_endian.h
usb_error.c
usb_fdt_support.c
usb_fdt_support.h
usb_freebsd.h
usb_freebsd_loader.h
usb_generic.c
usb_generic.h
usb_handle_request.c
usb_hid.c
usb_hub.c
usb_hub.h
usb_hub_acpi.c
usb_hub_private.h
usb_if.m
usb_ioctl.h hidraw(4): Add additional hidraw input/output report ioctls 2025-04-30 10:32:22 +03:00
usb_lookup.c
usb_mbuf.c
usb_mbuf.h
usb_msctest.c usb-msctest: Be more conservative setting GETMAXLUN quirk 2025-03-24 21:01:56 -06:00
usb_msctest.h
usb_parse.c
usb_pci.h
usb_pf.c bpf: Add IfAPI analogue for bpf_peers_present() 2024-09-24 12:30:48 +08:00
usb_pf.h
usb_process.c usb: serial: allow the open/close sleep to be interruptible 2024-12-31 23:45:24 -06:00
usb_process.h usb: serial: allow the open/close sleep to be interruptible 2024-12-31 23:45:24 -06:00
usb_request.c
usb_request.h
usb_transfer.c
usb_transfer.h
usb_util.c
usb_util.h
usbdevs ure(4): Add support for ELECOM EDC-QUA3C 2025-02-07 14:46:53 +00:00
usbdi.h usb: serial: allow the open/close sleep to be interruptible 2024-12-31 23:45:24 -06:00
usbdi_util.h
usbhid.h