ksh: build with __EXTENSIONS__ to expose confstr
[unleashed.git] / share / man / man9f / ddi_dma_free_handle.9f
blobbfcd40b879a0a999f4a7e5b62ca46c8fdabce6d3
1 '\" te
2 .\" Copyright (c) 1994, Sun Microsystems, Inc.
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 .\" 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 .\" 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_DMA_FREE_HANDLE 9F "Sep 26, 1994"
7 .SH NAME
8 ddi_dma_free_handle \- free DMA handle
9 .SH SYNOPSIS
10 .LP
11 .nf
12 #include <sys/ddi.h>
13 #include <sys/sunddi.h>
17 \fBvoid\fR \fBddi_dma_free_handle\fR(\fBddi_dma_handle_t *\fR\fIhandle\fR);
18 .fi
20 .SH PARAMETERS
21 .sp
22 .ne 2
23 .na
24 \fB\fIhandle\fR \fR
25 .ad
26 .RS 11n
27 A pointer to the  \fBDMA\fR handle previously allocated by a call to
28 \fBddi_dma_alloc_handle\fR(9F).
29 .RE
31 .SH INTERFACE LEVEL
32 .sp
33 .LP
34 Solaris DDI specific (Solaris DDI).
35 .SH DESCRIPTION
36 .sp
37 .LP
38 \fBddi_dma_free_handle()\fR destroys the  \fBDMA \fRhandle pointed to by
39 \fIhandle\fR. Any further references to the  \fBDMA\fR handle will have
40 undefined results. Note that  \fBddi_dma_unbind_handle\fR(9F) must be called
41 prior to \fBddi_dma_free_handle()\fR to free any resources the system may be
42 caching  on the handle.
43 .SH CONTEXT
44 .sp
45 .LP
46 \fBddi_dma_free_handle()\fR can be called from user, kernel, or interrupt
47 context.
48 .SH SEE ALSO
49 .sp
50 .LP
51 \fBddi_dma_alloc_handle\fR(9F), \fBddi_dma_unbind_handle\fR(9F)
52 .sp
53 .LP
54 \fIWriting Device Drivers\fR