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

@@ -21,10 +21,13 @@
 
 /*
  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
+/*
+ * Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ */
 
 #include <sys/conf.h>
 #include <sys/kmem.h>
 #include <sys/ddi_impldefs.h>
 #include <sys/ddi.h>

@@ -53,17 +56,10 @@
 {
         return (ddi_dma_mctl(dip, dip, 0, DDI_DMA_E_FREE, 0, 0,
             (caddr_t *)(uintptr_t)chnl, 0));
 }
 
-int
-ddi_dmae_getlim(dev_info_t *dip, ddi_dma_lim_t *limitsp)
-{
-        return (ddi_dma_mctl(dip, dip, 0, DDI_DMA_E_GETLIM, 0, 0,
-            (caddr_t *)limitsp, 0));
-}
-
 int
 ddi_dmae_getattr(dev_info_t *dip, ddi_dma_attr_t *attrp)
 {
         return (ddi_dma_mctl(dip, dip, 0, DDI_DMA_E_GETATTR, 0, 0,
             (caddr_t *)attrp, 0));