From 535fc60c541d165d049328343854760846526b78 Mon Sep 17 00:00:00 2001 From: imp Date: Sat, 29 Mar 2003 05:11:14 +0000 Subject: Clearify what happens with the cookiep in various cases. --- share/man/man9/BUS_SETUP_INTR.9 | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'share/man') 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 -- cgit v1.1