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

*** 1,12 **** '\" te .\" Copyright (c) 2004, Sun Microsystems, Inc., All Rights Reserved - .\" Copyright 2012 Garrett D'Amore <garrett@damore.org>. All rights reserved. .\" 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_DMAE_REQ 9S "Feb 06, 2012" .SH NAME ddi_dmae_req \- DMA engine request structure .SH SYNOPSIS .LP .nf --- 1,12 ---- '\" te + .\" Copyright 2014 Garrett D'Amore <garrett@damore.org> .\" Copyright (c) 2004, Sun Microsystems, Inc., All Rights Reserved .\" 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_DMAE_REQ 9S "May 24, 2014" .SH NAME ddi_dmae_req \- DMA engine request structure .SH SYNOPSIS .LP .nf
*** 86,98 **** A driver can specify the \fBDMAE_BUF_CHAIN\fR flag only if the particular bus architecture supports the use of multiple \fBDMA\fR cookies in a single \fBI/O\fR transfer. A bus \fBDMA\fR engine can support this feature either with a fixed-length scatter/gather list, or by an interrupt chaining feature. A driver must determine whether its parent bus nexus supports this feature by ! examining the scatter/gather list size returned in the \fBdlim_sgllen\fR member ! of the \fBDMA\fR limit structure returned by the driver's call to ! \fBddi_dmae_getlim()\fR. (See \fBddi_dma_lim_x86\fR(9S).) If the size of the scatter/gather list is 1, then no chaining is available. The driver must not specify the \fBDMAE_BUF_CHAIN\fR flag in the \fBddi_dmae_req\fR structure it passes to \fBddi_dmae_prog()\fR, and the driver need not provide a \fBnextcookie\fR routine. .sp --- 86,98 ---- A driver can specify the \fBDMAE_BUF_CHAIN\fR flag only if the particular bus architecture supports the use of multiple \fBDMA\fR cookies in a single \fBI/O\fR transfer. A bus \fBDMA\fR engine can support this feature either with a fixed-length scatter/gather list, or by an interrupt chaining feature. A driver must determine whether its parent bus nexus supports this feature by ! examining the scatter/gather list size returned in the \fBdma_attr_sgllen\fR ! member of the \fBDMA\fR attributes structure returned by the driver's call to ! \fBddi_dmae_getattr()\fR. (See \fBddi_dma_attr\fR(9S).) If the size of the scatter/gather list is 1, then no chaining is available. The driver must not specify the \fBDMAE_BUF_CHAIN\fR flag in the \fBddi_dmae_req\fR structure it passes to \fBddi_dmae_prog()\fR, and the driver need not provide a \fBnextcookie\fR routine. .sp
*** 153,163 **** recommended. .RE When breaking a \fBDMA\fR window into segments, the system arranges for the end of every segment whose number is an integral multiple of the scatter/gather list size to fall on a device-granularity boundary, as specified in the ! \fBdlim_granular\fR field in the \fBddi_dma_lim_x86\fR(9S) structure. .sp If the scatter/gather list size is 1 (either because no chaining is available or because the driver does not want to use the chaining feature), then the total \fBI/O\fR count for a single \fBDMA\fR operation is the size of \fBDMA\fR segment denoted by the single \fBDMA\fR cookie that is passed in the call to --- 153,163 ---- recommended. .RE When breaking a \fBDMA\fR window into segments, the system arranges for the end of every segment whose number is an integral multiple of the scatter/gather list size to fall on a device-granularity boundary, as specified in the ! \fBdma_attr_granular\fR field in the \fBddi_dma_attr\fR(9S) structure. .sp If the scatter/gather list size is 1 (either because no chaining is available or because the driver does not want to use the chaining feature), then the total \fBI/O\fR count for a single \fBDMA\fR operation is the size of \fBDMA\fR segment denoted by the single \fBDMA\fR cookie that is passed in the call to
*** 222,227 **** .SH SEE ALSO .sp .LP \fBisa\fR(4), \fBattributes\fR(5), ! \fBddi_dmae\fR(9F), \fBddi_dma_lim_x86\fR(9S), \fBddi_dma_req\fR(9S) --- 222,227 ---- .SH SEE ALSO .sp .LP \fBisa\fR(4), \fBattributes\fR(5), ! \fBddi_dmae\fR(9F), \fBddi_dma_attr\fR(9S)