opnsense-src/sys/dev/isp
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
..
DriverManual.txt sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
Hardware.txt sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
isp.c isp: fix ISPCTL_ABORT_CMD switch case 2024-06-25 16:56:12 +02:00
isp_freebsd.c isp: Fix abort issue introduced by previous commit 2025-01-08 13:23:26 -05:00
isp_freebsd.h machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +01:00
isp_ioctl.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
isp_library.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
isp_library.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
isp_pci.c chore: replace {0, 0} with {DEV,KOBJ}METHOD_END 2026-04-25 09:46:07 -07:00
isp_stds.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
isp_target.c isp: Improve task aborts handling 2024-12-09 11:52:26 -05:00
isp_target.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
ispmbox.h Fix the isp(4) driver with 9.x firmware. 2024-06-24 16:47:55 -04:00
ispreg.h isp(4): Rework firmware handling/loading 2023-12-28 13:33:07 -05:00
ispvar.h Add an isp(4) tunable to default to ispfw(4) firmware. 2024-06-24 16:47:55 -04:00