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/intel/ia32/os/ddi_i86.c
          +++ new/usr/src/uts/intel/ia32/os/ddi_i86.c
↓ open down ↓ 15 lines elided ↑ open up ↑
  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  /*
  23   23   * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  24   24   * Use is subject to license terms.
  25   25   */
       26 +/*
       27 + * Copyright 2014 Garrett D'Amore <garrett@damore.org>
       28 + */
  26   29  
  27   30  #include <sys/conf.h>
  28   31  #include <sys/kmem.h>
  29   32  #include <sys/ddi_impldefs.h>
  30   33  #include <sys/ddi.h>
  31   34  #include <sys/sunddi.h>
  32   35  #include <sys/ddifm.h>
  33   36  #include <sys/fm/io/ddi.h>
  34   37  #include <sys/fm/protocol.h>
  35   38  #include <sys/ontrap.h>
↓ open down ↓ 12 lines elided ↑ open up ↑
  48   51              (caddr_t *)(uintptr_t)chnl, 0));
  49   52  }
  50   53  
  51   54  int
  52   55  ddi_dmae_release(dev_info_t *dip, int chnl)
  53   56  {
  54   57          return (ddi_dma_mctl(dip, dip, 0, DDI_DMA_E_FREE, 0, 0,
  55   58              (caddr_t *)(uintptr_t)chnl, 0));
  56   59  }
  57   60  
  58      -int
  59      -ddi_dmae_getlim(dev_info_t *dip, ddi_dma_lim_t *limitsp)
  60      -{
  61      -        return (ddi_dma_mctl(dip, dip, 0, DDI_DMA_E_GETLIM, 0, 0,
  62      -            (caddr_t *)limitsp, 0));
  63      -}
  64      -
  65   61  int
  66   62  ddi_dmae_getattr(dev_info_t *dip, ddi_dma_attr_t *attrp)
  67   63  {
  68   64          return (ddi_dma_mctl(dip, dip, 0, DDI_DMA_E_GETATTR, 0, 0,
  69   65              (caddr_t *)attrp, 0));
  70   66  }
  71   67  
  72   68  int
  73   69  ddi_dmae_1stparty(dev_info_t *dip, int chnl)
  74   70  {
↓ open down ↓ 1897 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX