opnsense-src/sys/dev/uart
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
..
uart.h arm64: add a driver for the uart found on Apple Silicon machines 2025-04-01 21:57:17 -05:00
uart_bus.h Kill ignore regshft flag 2025-01-14 19:24:36 -07:00
uart_bus_acpi.c chore: replace {0, 0} with {DEV,KOBJ}METHOD_END 2026-04-25 09:46:07 -07:00
uart_bus_fdt.c chore: replace {0, 0} with {DEV,KOBJ}METHOD_END 2026-04-25 09:46:07 -07:00
uart_bus_isa.c chore: replace {0, 0} with {DEV,KOBJ}METHOD_END 2026-04-25 09:46:07 -07:00
uart_bus_pci.c puc: Add support for Systembase SB16C1054, SB16C1058. 2025-08-26 21:09:15 +10:00
uart_bus_puc.c chore: replace {0, 0} with {DEV,KOBJ}METHOD_END 2026-04-25 09:46:07 -07:00
uart_bus_scc.c chore: replace {0, 0} with {DEV,KOBJ}METHOD_END 2026-04-25 09:46:07 -07:00
uart_core.c machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +01:00
uart_cpu.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
uart_cpu_acpi.c uart: Add UART_ACPI_SPCR_CLASS 2025-08-13 10:31:16 +01:00
uart_cpu_acpi.h uart: Remove the unused cd_port_subtype 2025-08-13 10:31:16 +01:00
uart_cpu_arm64.c uart: Add uart_cpu_acpi_setup to setup the uart 2024-03-18 16:20:52 +00:00
uart_cpu_fdt.c uart: Small style tweak 2024-10-11 15:27:46 -06:00
uart_cpu_fdt.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
uart_cpu_powerpc.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
uart_cpu_x86.c uart: Add uart_cpu_acpi_setup to setup the uart 2024-03-18 16:20:52 +00:00
uart_dbg.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
uart_dev_imx.c chore: replace {0, 0} with {DEV,KOBJ}METHOD_END 2026-04-25 09:46:07 -07:00
uart_dev_imx.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
uart_dev_lowrisc.c chore: replace {0, 0} with {DEV,KOBJ}METHOD_END 2026-04-25 09:46:07 -07:00
uart_dev_lowrisc.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
uart_dev_msm.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
uart_dev_msm.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
uart_dev_mu.c chore: replace {0, 0} with {DEV,KOBJ}METHOD_END 2026-04-25 09:46:07 -07:00
uart_dev_mvebu.c chore: replace {0, 0} with {DEV,KOBJ}METHOD_END 2026-04-25 09:46:07 -07:00
uart_dev_ns8250.c uart: Add ns8250 ACPI entry for SPCR rev 2 2025-08-13 10:02:14 -04:00
uart_dev_ns8250.h uart: Add primitive noise filtering on RX 2024-11-27 09:17:09 -05:00
uart_dev_pl011.c chore: replace {0, 0} with {DEV,KOBJ}METHOD_END 2026-04-25 09:46:07 -07:00
uart_dev_quicc.c chore: replace {0, 0} with {DEV,KOBJ}METHOD_END 2026-04-25 09:46:07 -07:00
uart_dev_snps.c uart: provide and use default rclk for JH7110 UART 2025-11-13 12:24:48 -04:00
uart_dev_ti8250.c uart(4): Honor hardware state of NS8250-class for tsw_busy 2024-01-14 08:03:59 +01:00
uart_dev_z8530.c chore: replace {0, 0} with {DEV,KOBJ}METHOD_END 2026-04-25 09:46:07 -07:00
uart_if.m uart(4): Honor hardware state of NS8250-class for tsw_busy 2024-01-14 08:03:59 +01:00
uart_ppstypes.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
uart_subr.c uart: uart_getenv: check for NULL class last, not first 2024-10-14 16:03:59 -06:00
uart_tty.c uart: fix sleeping while holding mutex in uart_tty_detach() 2026-04-11 22:15:12 -05:00