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/uts/common/sys/scsi/conf/device.h
          +++ new/usr/src/uts/common/sys/scsi/conf/device.h
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  /*
  22   22   * Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  23   23   * Use is subject to license terms.
  24   24   */
       25 +/*
       26 + * Copyright 2014 Garrett D'Amore <garrett@damore.org>
       27 + */
  25   28  
  26   29  /*
  27   30   * SCSI device structure.
  28   31   *
  29   32   * All SCSI target drivers will have one of these per target/lun/sfunc.
  30   33   * It is allocated and initialized by the framework SCSA HBA nexus code
  31   34   * for each SCSI target dev_info_t node during HBA nexus DDI_CTLOPS_INITCHILD
  32   35   * processing of a child device node just prior to tran_tgt_init(9E).  A
  33   36   * pointer the the scsi_device(9S) structure is stored in the
  34   37   * driver-private data field of the target device's dev_info_t node (in
↓ open down ↓ 57 lines elided ↑ open up ↑
  92   95           * its per-scsi_device(9S) hba private data by calling
  93   96           * scsi_device_hba_private_get(9F).
  94   97           */
  95   98          void                    *sd_hba_private;
  96   99  
  97  100          /*
  98  101           * If scsi_slave is used to probe out this device, a scsi_inquiry data
  99  102           * structure will be allocated and an INQUIRY command will be run to
 100  103           * fill it in.
 101  104           *
 102      -         * The allocation will be done via ddi_iopb_alloc, so any manual
 103      -         * freeing may be done by ddi_iopb_free.
 104      -         *
 105  105           * The inquiry data is allocated/refreshed by scsi_probe/scsi_slave
 106  106           * and freed by uninitchild (inquiry data is no longer freed by
 107  107           * scsi_unprobe/scsi_unslave).
 108  108           *
 109  109           * NOTE: Additional device identity information may be available
 110  110           * as properties of sd_dev.
 111  111           */
 112  112          struct scsi_inquiry     *sd_inq;
 113  113  
 114  114          /*
↓ open down ↓ 154 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX