Print this page
4630 clean stale references to ddi_iopb_alloc and ddi_iopb_free
4634 undocument scsi_hba_attach() and ddi_dma_lim(9s)
   1 '\" te
   2 .\" Copyright (c) 2006, Sun Microsystems, Inc., All Rights Reserved
   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 GET_PKTIOPB 9F "Jan 16, 2006"
   7 .SH NAME
   8 get_pktiopb, free_pktiopb \- allocate/free a SCSI packet in the iopb map
   9 .SH SYNOPSIS
  10 .LP
  11 .nf
  12 #include <sys/scsi/scsi.h>
  13 
  14 
  15 
  16 \fBstruct scsi_pkt *\fR\fBget_pktiopb\fR(\fBstruct scsi_address *\fR\fIap\fR,
  17      \fBcaddr_t *\fR\fIdatap\fR, \fBint\fR \fIcdblen\fR, \fBint\fR \fIstatuslen\fR, \fBint\fR \fIdatalen\fR,
  18      \fBint\fR \fIreadflag\fR, \fBint (*\fR\fIcallback\fR);
  19 .fi
  20 
  21 .LP
  22 .nf
  23 \fBvoid\fR \fBfree_pktiopb\fR(\fBstruct scsi_pkt *\fR\fIpkt\fR, \fBcaddr_t\fR \fIdatap\fR, \fBint\fR \fIdatalen\fR);
  24 .fi
  25 
  26 .SH INTERFACE LEVEL


 169 context.
 170 .SH ATTRIBUTES
 171 .sp
 172 .LP
 173 See \fBattributes\fR(5) for a description of the following attributes:
 174 .sp
 175 
 176 .sp
 177 .TS
 178 box;
 179 c | c
 180 l | l .
 181 ATTRIBUTE TYPE  ATTRIBUTE VALUE
 182 _
 183 Stability Level Obsolete
 184 .TE
 185 
 186 .SH SEE ALSO
 187 .sp
 188 .LP
 189 \fBattributes\fR(5), \fBddi_iopb_alloc\fR(9F),
 190 \fBscsi_alloc_consistent_buf\fR(9F), \fBscsi_free_consistent_buf\fR(9F),
 191 \fBscsi_pktalloc\fR(9F), \fBscsi_resalloc\fR(9F), \fBscsi_pkt\fR(9S)
 192 .sp
 193 .LP
 194 \fIWriting Device Drivers\fR
 195 .SH NOTES
 196 .sp
 197 .LP
 198 The \fBget_pktiopb()\fR and \fBfree_pktiopb()\fR functions are obsolete and
 199 will be discontinued in a future release. These functions have been replaced
 200 by, respectively, \fBscsi_alloc_consistent_buf\fR(9F) and
 201 \fBscsi_free_consistent_buf\fR(9F).
 202 .sp
 203 .LP
 204 The \fBget_pktiopb()\fR function uses scarce resources. For this reason and its
 205 obsolescence (see above), its use is discouraged.
   1 '\" te
   2 .\" Copyright (c) 2006, Sun Microsystems, Inc., All Rights Reserved
   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 GET_PKTIOPB 9F "Feb 26, 2014"
   7 .SH NAME
   8 get_pktiopb, free_pktiopb \- allocate/free a SCSI packet in the iopb map
   9 .SH SYNOPSIS
  10 .LP
  11 .nf
  12 #include <sys/scsi/scsi.h>
  13 
  14 
  15 
  16 \fBstruct scsi_pkt *\fR\fBget_pktiopb\fR(\fBstruct scsi_address *\fR\fIap\fR,
  17      \fBcaddr_t *\fR\fIdatap\fR, \fBint\fR \fIcdblen\fR, \fBint\fR \fIstatuslen\fR, \fBint\fR \fIdatalen\fR,
  18      \fBint\fR \fIreadflag\fR, \fBint (*\fR\fIcallback\fR);
  19 .fi
  20 
  21 .LP
  22 .nf
  23 \fBvoid\fR \fBfree_pktiopb\fR(\fBstruct scsi_pkt *\fR\fIpkt\fR, \fBcaddr_t\fR \fIdatap\fR, \fBint\fR \fIdatalen\fR);
  24 .fi
  25 
  26 .SH INTERFACE LEVEL


 169 context.
 170 .SH ATTRIBUTES
 171 .sp
 172 .LP
 173 See \fBattributes\fR(5) for a description of the following attributes:
 174 .sp
 175 
 176 .sp
 177 .TS
 178 box;
 179 c | c
 180 l | l .
 181 ATTRIBUTE TYPE  ATTRIBUTE VALUE
 182 _
 183 Stability Level Obsolete
 184 .TE
 185 
 186 .SH SEE ALSO
 187 .sp
 188 .LP
 189 \fBattributes\fR(5),
 190 \fBscsi_alloc_consistent_buf\fR(9F), \fBscsi_free_consistent_buf\fR(9F),
 191 \fBscsi_pktalloc\fR(9F), \fBscsi_resalloc\fR(9F), \fBscsi_pkt\fR(9S)
 192 .sp
 193 .LP
 194 \fIWriting Device Drivers\fR
 195 .SH NOTES
 196 .sp
 197 .LP
 198 The \fBget_pktiopb()\fR and \fBfree_pktiopb()\fR functions are obsolete and
 199 will be discontinued in a future release. These functions have been replaced
 200 by, respectively, \fBscsi_alloc_consistent_buf\fR(9F) and
 201 \fBscsi_free_consistent_buf\fR(9F).
 202 .sp
 203 .LP
 204 The \fBget_pktiopb()\fR function uses scarce resources. For this reason and its
 205 obsolescence (see above), its use is discouraged.