Print this page
4888 Undocument dma_req(9s)
4884 EOF scsi_hba_attach
4886 EOF ddi_dmae_getlim
4887 EOF ddi_iomin
4634 undocument scsi_hba_attach() and ddi_dma_lim(9s)
4630 clean stale references to ddi_iopb_alloc and ddi_iopb_free
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/man/man9f/ddi_dma_burstsizes.9f
+++ new/usr/src/man/man9f/ddi_dma_burstsizes.9f
1 1 '\" te
2 +.\" Copyright 2014 Garrett D'Amore <garrett@damore.org>
2 3 .\" Copyright (c) 1994, Sun Microsystems, Inc.
3 4 .\" 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 5 .\" 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 6 .\" 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_BURSTSIZES 9F "Feb 1, 1994"
7 +.TH DDI_DMA_BURSTSIZES 9F "May 24, 2014"
7 8 .SH NAME
8 9 ddi_dma_burstsizes \- find out the allowed burst sizes for a DMA mapping
9 10 .SH SYNOPSIS
10 11 .LP
11 12 .nf
12 13 #include <sys/conf.h>
13 14 #include <sys/ddi.h>
14 15 #include <sys/sunddi.h>
15 16
16 17
17 18
18 19 \fBint\fR \fBddi_dma_burstsizes\fR(\fBddi_dma_handle_t\fR \fIhandle\fR);
19 20 .fi
20 21
21 22 .SH INTERFACE LEVEL
↓ open down ↓ |
5 lines elided |
↑ open up ↑ |
22 23 .sp
23 24 .LP
24 25 Solaris DDI specific (Solaris DDI).
25 26 .SH PARAMETERS
26 27 .sp
27 28 .ne 2
28 29 .na
29 30 \fB\fIhandle\fR \fR
30 31 .ad
31 32 .RS 11n
32 -A \fBDMA\fR handle that was filled in by a successful call to
33 -\fBddi_dma_setup\fR(9F).
33 +A \fBDMA\fR handle.
34 34 .RE
35 35
36 36 .SH DESCRIPTION
37 37 .sp
38 38 .LP
39 39 \fBddi_dma_burstsizes()\fR returns the allowed burst sizes for a \fBDMA\fR
40 -mapping. This value is derived from the \fBdlim_burstsizes\fR member of the
41 -\fBddi_dma_lim_sparc\fR(9S) structure, but it shows the allowable burstsizes
40 +mapping. This value is derived from the \fBdma_attr_burstsizes\fR member of the
41 +\fBddi_dma_attr\fR(9S) structure, but it shows the allowable burstsizes
42 42 \fBafter\fR imposing on it the limitations of other device layers in addition
43 43 to device's own limitations.
44 44 .SH RETURN VALUES
45 45 .sp
46 46 .LP
47 47 \fBddi_dma_burstsizes()\fR returns a binary encoded value of the allowable
48 -\fBDMA\fR burst sizes. See \fBddi_dma_lim_sparc\fR(9S) for a discussion of
48 +\fBDMA\fR burst sizes. See \fBddi_dma_attr\fR(9S) for a discussion of
49 49 \fBDMA\fR burst sizes.
50 50 .SH CONTEXT
51 51 .sp
52 52 .LP
53 53 This function can be called from user or interrupt context.
54 54 .SH SEE ALSO
55 55 .sp
56 56 .LP
57 -\fBddi_dma_devalign\fR(9F), \fBddi_dma_setup\fR(9F),
58 -\fBddi_dma_lim_sparc\fR(9S), \fBddi_dma_req\fR(9S)
57 +\fBddi_dma_alloc_handle\fR(9F), \fBddi_dma_attr\fR(9S)
59 58 .sp
60 59 .LP
61 60 \fIWriting Device Drivers\fR
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX