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/impl/transport.h
          +++ new/usr/src/uts/common/sys/scsi/impl/transport.h
↓ open down ↓ 12 lines elided ↑ open up ↑
  13   13   * When distributing Covered Code, include this CDDL HEADER in each
  14   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  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 (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
       23 + * Copyright 2014 Garrett D'Amore <garrett@damore.org>
  23   24   */
  24   25  
  25   26  #ifndef _SYS_SCSI_IMPL_TRANSPORT_H
  26   27  #define _SYS_SCSI_IMPL_TRANSPORT_H
  27   28  
  28   29  /*
  29   30   * Include the loadable module wrapper.
  30   31   */
  31   32  #include <sys/modctl.h>
  32   33  #include <sys/note.h>
↓ open down ↓ 313 lines elided ↑ open up ↑
 346  347  #ifdef  NO_SCSI_FINI_YET
 347  348  void            scsi_uninitialize_hba_interface(void);
 348  349  #endif  /* NO_SCSI_FINI_YET */
 349  350  
 350  351  int             scsi_hba_init(
 351  352                                  struct modlinkage       *modlp);
 352  353  
 353  354  void            scsi_hba_fini(
 354  355                                  struct modlinkage       *modlp);
 355  356  
 356      -int             scsi_hba_attach(
 357      -                                dev_info_t              *hba_dip,
 358      -                                ddi_dma_lim_t           *hba_lim,
 359      -                                scsi_hba_tran_t         *tran,
 360      -                                int                     flags,
 361      -                                void                    *hba_options);
 362      -
 363  357  int             scsi_hba_attach_setup(
 364  358                                  dev_info_t              *hba_dip,
 365  359                                  ddi_dma_attr_t          *hba_dma_attr,
 366  360                                  scsi_hba_tran_t         *tran,
 367  361                                  int                     flags);
 368  362  
 369  363  int             scsi_hba_detach(
 370  364                                  dev_info_t              *hba_dip);
 371  365  
 372  366  scsi_hba_tran_t *scsi_hba_tran_alloc(
↓ open down ↓ 320 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX