HomeFreeBSD

bus.h: rewrite comment describing intr_type

Description

bus.h: rewrite comment describing intr_type

Describe more clearly the purpose of these flags and where they are
used.

Remove grog's comment about revisiting the flags. At this point it does
not make sense to change this long-standing API, especially in light of
2cf7870864ea ("Collapse interrupt thread priorities").

Give a better example of a bus modifying these flags; I did not find any
existing instance where a bus changes the interrupt's type.

Reviewed by: imp, markj, jhb
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D36896

(cherry picked from commit af390486010e8fc78c4d715e751cd1175d0752c7)

Details

Provenance
mhorneAuthored on Oct 7 2022, 10:21 PM
Reviewer
imp
Differential Revision
D36896: bus.h: rewrite comment describing intr_type
Parents
rGabd68709a99d: EVENTHANDLER(9): drop the list of event handlers
Branches
Unknown
Tags
Unknown
Reverted By
rGed620ade7fbb: Revert "bus.h: rewrite comment describing intr_type"