opnsense-src/sys/dev/isp
Alexander Motin 1f7c379c07 isp: Fix abort issue introduced by previous commit
Aborting ATIO while its CTIOs are in progress makes impossible to
handle their completions, making them stuck forever.  Detect this
case by checking ctcnt counter and if so instead of aborting just
mark the ATIO as dead to block any new CTIOs.  It is not perfect
since the task id can not be reused for some more time, but not
as bad as the task stuck forever.

MFC after:	1 week
2025-01-08 13:04:34 -05: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:04:34 -05:00
isp_freebsd.h isp: Fix abort issue introduced by previous commit 2025-01-08 13:04:34 -05: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 Add an isp(4) tunable to default to ispfw(4) firmware. 2024-06-24 16:47:55 -04: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