summaryrefslogtreecommitdiff
path: root/usr/src/man/man9f/ddi_add_intr.9f
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man9f/ddi_add_intr.9f')
-rw-r--r--usr/src/man/man9f/ddi_add_intr.9f49
1 files changed, 9 insertions, 40 deletions
diff --git a/usr/src/man/man9f/ddi_add_intr.9f b/usr/src/man/man9f/ddi_add_intr.9f
index efe1756fad..e8c445a525 100644
--- a/usr/src/man/man9f/ddi_add_intr.9f
+++ b/usr/src/man/man9f/ddi_add_intr.9f
@@ -3,7 +3,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH ddi_add_intr 9F "19 Oct 2005" "SunOS 5.11" "Kernel Functions for Drivers"
+.TH DDI_ADD_INTR 9F "Oct 19, 2005"
.SH NAME
ddi_add_intr, ddi_get_iblock_cookie, ddi_remove_intr \- hardware interrupt
handling routines
@@ -23,16 +23,16 @@ handling routines
.LP
.nf
-\fBint\fR \fBddi_add_intr\fR(\fBdev_info_t *\fR\fIdip\fR, \fBuint_t\fR \fIinumber\fR,
+\fBint\fR \fBddi_add_intr\fR(\fBdev_info_t *\fR\fIdip\fR, \fBuint_t\fR \fIinumber\fR,
\fBddi_iblock_cookie_t *\fR\fIiblock_cookiep\fR,
- \fBddi_idevice_cookie_t *\fR\fIidevice_cookiep\fR,
+ \fBddi_idevice_cookie_t *\fR\fIidevice_cookiep\fR,
\fBuint_t (*\fR\fIint_handler\fR) (caddr_t),
\fBcaddr_t\fR \fIint_handler_arg\fR);
.fi
.LP
.nf
-\fBvoid\fR \fBddi_remove_intr\fR(\fBdev_info_t *\fR\fIdip\fR,
+\fBvoid\fR \fBddi_remove_intr\fR(\fBdev_info_t *\fR\fIdip\fR,
\fBuint_t\fR \fIinumber\fR, \fBddi_iblock_cookie_t\fR \fIiblock_cookie\fR);
.fi
@@ -48,34 +48,28 @@ Drivers\fR for more information.
For \fBddi_get_iblock_cookie()\fR:
.sp
.ne 2
-.mk
.na
\fB\fIdip\fR\fR
.ad
.RS 18n
-.rt
Pointer to \fBdev_info\fR structure.
.RE
.sp
.ne 2
-.mk
.na
\fB\fIinumber\fR\fR
.ad
.RS 18n
-.rt
Interrupt number.
.RE
.sp
.ne 2
-.mk
.na
\fB\fIiblock_cookiep\fR\fR
.ad
.RS 18n
-.rt
Pointer to an interrupt block cookie.
.RE
@@ -84,69 +78,57 @@ Pointer to an interrupt block cookie.
For \fBddi_add_intr()\fR:
.sp
.ne 2
-.mk
.na
\fB\fIdip\fR\fR
.ad
.RS 19n
-.rt
Pointer to \fBdev_info\fR structure.
.RE
.sp
.ne 2
-.mk
.na
\fB\fIinumber\fR\fR
.ad
.RS 19n
-.rt
Interrupt number.
.RE
.sp
.ne 2
-.mk
.na
\fB\fIiblock_cookiep\fR\fR
.ad
.RS 19n
-.rt
Optional pointer to an interrupt block cookie where a returned interrupt block
cookie is stored.
.RE
.sp
.ne 2
-.mk
.na
\fB\fIidevice_cookiep\fR\fR
.ad
.RS 19n
-.rt
Optional pointer to an interrupt device cookie where a returned interrupt
device cookie is stored.
.RE
.sp
.ne 2
-.mk
.na
\fB\fIint_handler\fR\fR
.ad
.RS 19n
-.rt
Pointer to interrupt handler.
.RE
.sp
.ne 2
-.mk
.na
\fB\fIint_handler_arg\fR\fR
.ad
.RS 19n
-.rt
Argument for interrupt handler.
.RE
@@ -155,34 +137,28 @@ Argument for interrupt handler.
For \fBddi_remove_intr()\fR:
.sp
.ne 2
-.mk
.na
\fB\fIdip\fR\fR
.ad
.RS 17n
-.rt
Pointer to \fBdev_info\fR structure.
.RE
.sp
.ne 2
-.mk
.na
\fB\fIinumber\fR\fR
.ad
.RS 17n
-.rt
Interrupt number.
.RE
.sp
.ne 2
-.mk
.na
\fB\fIiblock_cookie\fR\fR
.ad
.RS 17n
-.rt
Block cookie which identifies the interrupt handler to be removed.
.RE
@@ -272,34 +248,28 @@ high-interrupt context. These types include \fBISA\fR and SBus buses. See
\fBddi_add_intr()\fR and \fBddi_get_iblock_cookie()\fR return:
.sp
.ne 2
-.mk
.na
\fB\fBDDI_SUCCESS\fR\fR
.ad
.RS 21n
-.rt
On success.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBDDI_INTR_NOTFOUND\fR\fR
.ad
.RS 21n
-.rt
On failure to find the interrupt.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBDDI_FAILURE\fR\fR
.ad
.RS 21n
-.rt
On failure. \fBDDI_FAILURE\fR can also be returned on failure to find interrupt
(\fBsun4u\fR).
.RE
@@ -317,13 +287,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityObsolete
+Interface Stability Obsolete
.TE
.SH SEE ALSO