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
*** 19,29 ****
* CDDL HEADER END
*/
/*
* Copyright (c) 1994, 2010, Oracle and/or its affiliates. All rights reserved.
! * Copyright 2012 Garrett D'Amore <garrett@damore.org>. All rights reserved.
*/
#include <sys/note.h>
/*
--- 19,29 ----
* CDDL HEADER END
*/
/*
* Copyright (c) 1994, 2010, Oracle and/or its affiliates. All rights reserved.
! * Copyright 2014 Garrett D'Amore <garrett@damore.org>
*/
#include <sys/note.h>
/*
*** 964,995 ****
kmem_free(tran->tran_extension, length);
tran->tran_extension = NULL;
}
}
- /*
- * Obsolete: Called by an HBA to attach an instance of the driver
- * Implement this older interface in terms of the new.
- */
- /*ARGSUSED*/
- int
- scsi_hba_attach(
- dev_info_t *self,
- ddi_dma_lim_t *hba_lim,
- scsi_hba_tran_t *tran,
- int flags,
- void *hba_options)
- {
- ddi_dma_attr_t hba_dma_attr;
-
- bzero(&hba_dma_attr, sizeof (ddi_dma_attr_t));
- hba_dma_attr.dma_attr_burstsizes = hba_lim->dlim_burstsizes;
- hba_dma_attr.dma_attr_minxfer = hba_lim->dlim_minxfer;
-
- return (scsi_hba_attach_setup(self, &hba_dma_attr, tran, flags));
- }
-
/*
* Common nexus teardown code: used by both scsi_hba_detach() on SCSA HBA node
* and iport_postdetach_tran_scsi_device() on a SCSA HBA iport node (and for
* failure cleanup). Undo scsa_nexus_setup in reverse order.
*
--- 964,973 ----