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/ddi_obsolete.h
          +++ new/usr/src/uts/common/sys/ddi_obsolete.h
   1    1  /*
   2    2   * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
   3    3   * Use is subject to license terms.
   4    4   */
   5    5  /*
   6      - * Copyright 2012 Garrett D'Amore <garrett@damore.org>.  All rights reserved.
        6 + * Copyright 2014 Garrett D'Amore <garrett@damore.org>
   7    7   */
   8    8  
   9    9  #ifndef _SYS_DDI_OBSOLETE_H
  10   10  #define _SYS_DDI_OBSOLETE_H
  11   11  
  12   12  /*
  13   13   * Obsoleted DDI Interfaces
  14   14   */
  15   15  
  16   16  #include <sys/types.h>
  17   17  #include <sys/dditypes.h>
  18   18  #include <sys/sunldi.h>
  19   19  
  20   20  
  21   21  #ifdef  __cplusplus
  22   22  extern "C" {
  23   23  #endif
  24   24  
  25   25  
  26      -/*
  27      - * The following are intentionally outside of _DDI_STRICT, they are obsolete
  28      - * and shouldn't be used by drivers, but are still used in the consolidation.
  29      - * e.g. DDI implementation.
  30      - */
  31      -int ddi_iomin(dev_info_t *dip, int initial, int streaming);
  32      -
  33      -
  34   26  #ifndef _DDI_STRICT
  35   27  
  36   28  extern long strtol(const char *, char **, int);
  37   29  extern unsigned long strtoul(const char *, char **, int);
  38   30  
  39      -/* we'd really like to remove this; unbundled  nexus drivers might have it */
  40      -int ddi_dma_map(dev_info_t *dip, dev_info_t *rdip,
  41      -    struct ddi_dma_req *dmareqp, ddi_dma_handle_t *handlep);
  42      -
  43   31  uint8_t ddi_mem_get8(ddi_acc_handle_t handle, uint8_t *host_addr);
  44   32  uint16_t ddi_mem_get16(ddi_acc_handle_t handle, uint16_t *host_addr);
  45   33  uint32_t ddi_mem_get32(ddi_acc_handle_t handle, uint32_t *host_addr);
  46   34  uint64_t ddi_mem_get64(ddi_acc_handle_t handle, uint64_t *host_addr);
  47   35  void ddi_mem_put8(ddi_acc_handle_t handle, uint8_t *dev_addr, uint8_t value);
  48   36  void ddi_mem_put16(ddi_acc_handle_t handle, uint16_t *dev_addr, uint16_t value);
  49   37  void ddi_mem_put32(ddi_acc_handle_t handle, uint32_t *dev_addr, uint32_t value);
  50   38  void ddi_mem_put64(ddi_acc_handle_t handle, uint64_t *dev_addr, uint64_t value);
  51   39  
  52   40  void ddi_mem_rep_get8(ddi_acc_handle_t handle, uint8_t *host_addr,
↓ open down ↓ 133 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX