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/ddidmareq.h
          +++ new/usr/src/uts/common/sys/ddidmareq.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 (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
  23   23   */
  24   24  /*
  25      - * Copyright 2012 Garrett D'Amore <garrett@damore.org>.  All rights reserved.
       25 + * Copyright 2014 Garrett D'Amore <garrett@damore.org>
  26   26   */
  27   27  
  28   28  #ifndef _SYS_DDIDMAREQ_H
  29   29  #define _SYS_DDIDMAREQ_H
  30   30  
  31   31  #ifdef  __cplusplus
  32   32  extern "C" {
  33   33  #endif
  34   34  
  35   35  /*
↓ open down ↓ 687 lines elided ↑ open up ↑
 723  723          DDI_DMA_REPWIN,         /* obsolete - do not use                */
 724  724          DDI_DMA_GETERR,         /* obsolete - do not use                */
 725  725          DDI_DMA_COFF,           /* obsolete - do not use                */
 726  726          DDI_DMA_NEXTWIN,        /* obsolete - do not use                */
 727  727          DDI_DMA_NEXTSEG,        /* obsolete - do not use                */
 728  728          DDI_DMA_SEGTOC,         /* obsolete - do not use                */
 729  729          DDI_DMA_RESERVE,        /* reserve some DVMA range              */
 730  730          DDI_DMA_RELEASE,        /* free preallocated DVMA range         */
 731  731          DDI_DMA_RESETH,         /* obsolete - do not use                */
 732  732          DDI_DMA_CKSYNC,         /* obsolete - do not use                */
 733      -        DDI_DMA_IOPB_ALLOC,     /* get contiguous DMA-able memory       */
 734      -        DDI_DMA_IOPB_FREE,      /* return contiguous DMA-able memory    */
 735      -        DDI_DMA_SMEM_ALLOC,     /* get contiguous DMA-able memory       */
 736      -        DDI_DMA_SMEM_FREE,      /* return contiguous DMA-able memory    */
      733 +        DDI_DMA_IOPB_ALLOC,     /* obsolete - do not use                */
      734 +        DDI_DMA_IOPB_FREE,      /* obsolete - do not use                */
      735 +        DDI_DMA_SMEM_ALLOC,     /* obsolete - do not use                */
      736 +        DDI_DMA_SMEM_FREE,      /* obsolete - do not use                */
 737  737          DDI_DMA_SET_SBUS64,     /* 64 bit SBus support                  */
 738      -        DDI_DMA_REMAP,          /* remap DMA buffers after relocation   */
      738 +        DDI_DMA_REMAP,          /* remap DVMA buffers after relocation  */
 739  739  
 740  740                  /*
 741  741                   * control ops for DMA engine on motherboard
 742  742                   */
 743  743          DDI_DMA_E_ACQUIRE,      /* get channel for exclusive use        */
 744  744          DDI_DMA_E_FREE,         /* release channel                      */
 745  745          DDI_DMA_E_1STPTY,       /* setup channel for 1st party DMA      */
 746  746          DDI_DMA_E_GETCB,        /* get control block for DMA engine     */
 747  747          DDI_DMA_E_FREECB,       /* free control blk for DMA engine      */
 748  748          DDI_DMA_E_PROG,         /* program channel of DMA engine        */
 749  749          DDI_DMA_E_SWSETUP,      /* setup channel for software control   */
 750  750          DDI_DMA_E_SWSTART,      /* software operation of DMA channel    */
 751  751          DDI_DMA_E_ENABLE,       /* enable channel of DMA engine         */
 752  752          DDI_DMA_E_STOP,         /* stop a channel of DMA engine         */
 753  753          DDI_DMA_E_DISABLE,      /* disable channel of DMA engine        */
 754  754          DDI_DMA_E_GETCNT,       /* get remaining xfer count             */
 755      -        DDI_DMA_E_GETLIM,       /* get DMA engine limits                */
      755 +        DDI_DMA_E_GETLIM,       /* obsolete - do not use                */
 756  756          DDI_DMA_E_GETATTR       /* get DMA engine attributes            */
 757  757  };
 758  758  
 759  759  /*
 760  760   * Cache attribute flags:
 761  761   *
 762  762   * IOMEM_DATA_CACHED
 763  763   *   The CPU can cache the data it fetches and push it to memory at a later
 764  764   *   time. This is the default attribute and used if no cache attributes is
 765  765   *   specified.
↓ open down ↓ 40 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX