Print this page
4382 ddi_intr_get_nintrs manpage typo

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man9f/ddi_intr_get_nintrs.9f
          +++ new/usr/src/man/man9f/ddi_intr_get_nintrs.9f
   1    1  '\" te
   2    2  .\" Copyright (c) 2006, Sun Microsystems, Inc. All Rights Reserved.
   3    3  .\" 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.
   4    4  .\" 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.
   5    5  .\" 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]
   6      -.TH DDI_INTR_GET_NINTRS 9F "Nov 13, 2006"
        6 +.TH DDI_INTR_GET_NINTRS 9F "Dec 13, 2013"
   7    7  .SH NAME
   8    8  ddi_intr_get_nintrs, ddi_intr_get_navail \- return number of interrupts
   9    9  supported or available for a given interrupt type
  10   10  .SH SYNOPSIS
  11   11  .LP
  12   12  .nf
  13   13  #include <sys/types.h>
  14   14  #include <sys/conf.h>
  15   15  #include <sys/ddi.h>
  16   16  #include <sys/sunddi.h>
↓ open down ↓ 90 lines elided ↑ open up ↑
 107  107  The \fBddi_intr_get_navail()\fR function returns the number of interrupts of a
 108  108  given \fItype\fR that is available to a particular hardware device. On a
 109  109  successful return, the number of available interrupts is returned as an integer
 110  110  pointed to by \fInavailp\fR.
 111  111  .sp
 112  112  .LP
 113  113  The hardware device may support more than one interrupt and can request that
 114  114  all interrupts be allocated. The host software can then use policy-based
 115  115  decisions to determine how many interrupts are made available to the device.
 116  116  Based on the determination, a value is returned that should be used to allocate
 117      -interrupts with the \fBddi_int_alloc()\fR function.
      117 +interrupts with the \fBddi_intr_alloc()\fR function.
 118  118  .sp
 119  119  .LP
 120  120  The \fBddi_intr_get_supported_types\fR(9F) function returns a list of valid
 121  121  supported types for the given hardware device. It must be called prior to
 122  122  calling either the \fBddi_intr_get_nintrs()\fR or \fBddi_intr_get_navail()\fR.
 123  123  .SH RETURN VALUES
 124  124  .sp
 125  125  .LP
 126  126  The \fBddi_intr_get_nintrs()\fR and \fBddi_intr_get_navail()\fR functions
 127  127  return:
↓ open down ↓ 82 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX