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)
*** 1688,1700 ****
un->un_uscsi_rqs_buf = kmem_alloc(SENSE_LENGTH, KM_SLEEP);
/*
* use i_ddi_mem_alloc() for now until we have an interface to allocate
! * memory for DMA which doesn't require a DMA handle. ddi_iopb_alloc()
! * is obsolete and we want more flexibility in controlling the DMA
! * address constraints.
*/
(void) i_ddi_mem_alloc(devp->sd_dev, &st_alloc_attr,
sizeof (struct seq_mode), ((km_flags == KM_SLEEP) ? 1 : 0), 0,
NULL, (caddr_t *)&un->un_mspl, &rlen, NULL);
--- 1688,1698 ----
un->un_uscsi_rqs_buf = kmem_alloc(SENSE_LENGTH, KM_SLEEP);
/*
* use i_ddi_mem_alloc() for now until we have an interface to allocate
! * memory for DMA which doesn't require a DMA handle.
*/
(void) i_ddi_mem_alloc(devp->sd_dev, &st_alloc_attr,
sizeof (struct seq_mode), ((km_flags == KM_SLEEP) ? 1 : 0), 0,
NULL, (caddr_t *)&un->un_mspl, &rlen, NULL);