Print this page
4630 clean stale references to ddi_iopb_alloc and ddi_iopb_free
4634 undocument scsi_hba_attach() and ddi_dma_lim(9s)

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/pcic.c
          +++ new/usr/src/uts/common/io/pcic.c
↓ open down ↓ 103 lines elided ↑ open up ↑
 104  104  static int pcic_ioctl(dev_t, int, intptr_t, int, cred_t *, int *);
 105  105  
 106  106  typedef struct pcm_regs pcm_regs_t;
 107  107  
 108  108  static void pcic_init_assigned(dev_info_t *);
 109  109  static int pcic_apply_avail_ranges(dev_info_t *, pcm_regs_t *,
 110  110          pci_regspec_t *, int);
 111  111  int pci_resource_setup_avail(dev_info_t *, pci_regspec_t *, int);
 112  112  
 113  113  /*
 114      - * On x86 platforms the ddi_iobp_alloc(9F) and ddi_mem_alloc(9F) calls
 115      - * are xlated into DMA ctlops. To make this nexus work on x86, we
 116      - * need to have the default ddi_dma_mctl ctlops in the bus_ops
 117      - * structure, just to pass the request to the parent. The correct
      114 + * To make this nexus work on x86, we need to have the default ddi_dma_mctl
      115 + * ctlops in the bus_ops structure, just to pass the request to the parent.
 118  116   * ctlops should be ddi_no_dma_mctl because so far we don't do DMA.
 119  117   */
 120  118  static
 121  119  struct bus_ops pcmciabus_ops = {
 122  120          BUSO_REV,
 123  121          pcmcia_bus_map,
 124  122          NULL,
 125  123          NULL,
 126  124          NULL,
 127  125          i_ddi_map_fault,
↓ open down ↓ 6743 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX