add verbage about how once BUS_TEARDOWN_INTR returns, the interrupt will

no longer be active or called..

Also document requirement that no mutexes be held across calls to these
functions..

Reviewed by:	jhb, rwatson
This commit is contained in:
John-Mark Gurney 2004-02-10 20:34:44 +00:00
parent 8d9b29bec1
commit 115eec0e6f

View file

@ -101,6 +101,12 @@ The interrupt handler will be detached by
The cookie needs to be passed to
.Fn BUS_TEARDOWN_INTR
in order to tear down the correct interrupt handler.
Once
.Fn BUS_TEARDOWN_INTR
returns, it is guaranteed that the interrupt function is not active and
will no longer be called.
.Pp
Mutexes are not allowed to be held across calls to these functions.
.Sh RETURN VALUES
Zero is returned on success,
otherwise an appropriate error is returned.