summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2003-03-29 05:11:14 +0000
committerimp <imp@FreeBSD.org>2003-03-29 05:11:14 +0000
commit535fc60c541d165d049328343854760846526b78 (patch)
treec4155e027c85296b2a7f2dc24be6d77b9830e540 /share
parent6ee9b4c6fcd27cf7443c2b42627405e8889cd52c (diff)
downloadFreeBSD-src-535fc60c541d165d049328343854760846526b78.zip
FreeBSD-src-535fc60c541d165d049328343854760846526b78.tar.gz
Clearify what happens with the cookiep in various cases.
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/BUS_SETUP_INTR.912
1 files changed, 11 insertions, 1 deletions
diff --git a/share/man/man9/BUS_SETUP_INTR.9 b/share/man/man9/BUS_SETUP_INTR.9
index 1124147..1e40371 100644
--- a/share/man/man9/BUS_SETUP_INTR.9
+++ b/share/man/man9/BUS_SETUP_INTR.9
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd April 2, 2000
+.Dd March 28, 2003
.Dt BUS_SETUP_INTR 9
.Os
.Sh NAME
@@ -84,6 +84,16 @@ will be called with the value
.Fa arg
as its only argument.
.Pp
+The
+.Fa cookiep
+argument is a pointer to a void * that
+.Nm
+will write a cookie for the parent bus' use to if it is successful in
+establishing an interrupt.
+Driver writers may assume that this cookie will be non-zero.
+The nexus driver will write 0 on failure to
+.Fa cookiep.
+.Pp
The interrupt handler will be detached by
.Fn BUS_TEARDOWN_INTR .
The cookie needs to be passed to
OpenPOWER on IntegriCloud