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/scsi_ifgetcap.9f
          +++ new/usr/src/man/man9f/scsi_ifgetcap.9f
   1    1  '\" te
   2    2  .\"  Copyright (c) 2007, Sun Microsystems, Inc., All Rights Reserved
        3 +.\"  Copyright (c) 2014 Garrett D'Amore <garrett@damore.org>
   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 SCSI_IFGETCAP 9F "Oct 16, 2007"
        7 +.TH SCSI_IFGETCAP 9F "May 24, 2014"
   7    8  .SH NAME
   8    9  scsi_ifgetcap, scsi_ifsetcap \- get/set SCSI transport capability
   9   10  .SH SYNOPSIS
  10   11  .LP
  11   12  .nf
  12   13  #include <sys/scsi/scsi.h>
  13   14  
  14   15  
  15   16  
  16   17  \fBint\fR \fBscsi_ifgetcap\fR(\fBstruct scsi_address *\fR\fIap\fR, \fBchar *\fR\fIcap\fR, \fBint\fR \fIwhom\fR);
↓ open down ↓ 178 lines elided ↑ open up ↑
 195  196  \fB0\fR disables, \fB1\fR enables.
 196  197  .RE
 197  198  
 198  199  .sp
 199  200  .ne 2
 200  201  .na
 201  202  \fB\fBsector-size\fR\fR
 202  203  .ad
 203  204  .RS 24n
 204  205  Capability that is set by the target driver to inform the \fBHBA\fR of the
 205      -granularity, in bytes, of the \fBDMA\fR breakup. The \fBHBA\fR \fBDMA\fR limit
 206      -structure is set to reflect the byte total of this setting. See
 207      -\fBddi_dma_lim_sparc\fR(9S) or \fBddi_dma_lim_x86\fR(9S). The \fBsector-size\fR
      206 +granularity, in bytes, of the \fBDMA\fR breakup. The \fBHBA\fR \fBDMA\fR
      207 +attributes structure is set to reflect the byte total of this setting. See
      208 +\fBddi_dma_attribut\fR(9S). The \fBsector-size\fR
 208  209  should be set to the size of the physical disk sector. The capability defaults
 209  210  to 512 bytes.
 210  211  .RE
 211  212  
 212  213  .sp
 213  214  .ne 2
 214  215  .na
 215  216  \fB\fBtotal-sectors\fR\fR
 216  217  .ad
 217  218  .RS 24n
↓ open down ↓ 203 lines elided ↑ open up ↑
 421  422  l | l .
 422  423  ATTRIBUTE TYPE  ATTRIBUTE VALUE
 423  424  _
 424  425  Interface Stability     Committed
 425  426  .TE
 426  427  
 427  428  .SH SEE ALSO
 428  429  .sp
 429  430  .LP
 430  431  \fBtran_reset\fR(9E), \fBscsi_hba_lookup_capstr\fR(9F), \fBscsi_reset\fR(9F),
 431      -\fBscsi_reset_notify\fR(9F), \fBddi_dma_lim_sparc\fR(9S),
 432      -\fBddi_dma_lim_x86\fR(9S), \fBscsi_address\fR(9S), \fBscsi_arq_status\fR(9S)
      432 +\fBscsi_reset_notify\fR(9F), \fBddi_dma_attr\fR(9S),
      433 +\fBscsi_address\fR(9S), \fBscsi_arq_status\fR(9S)
 433  434  .sp
 434  435  .LP
 435  436  \fIWriting Device Drivers\fR
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX