NAME | SYNOPSIS | INTERFACE LEVEL | DESCRIPTION | STRUCTURE MEMBERS | SEE ALSO
#include <sys/scsi/scsi.h>
Solaris architecture specific (Solaris DDI).
A scsi_hba_tran_t structure defines vectors that an HBA driver exports to SCSA interfaces so that HBA specific functions can be executed.
dev_info_t *tran_hba_dip; /* HBAs dev_info pointer */ void *tran_hba_private; /* HBA softstate */ void *tran_tgt_privat /* HBA target private pointer */ struct scsi_device *tran_sd; /* scsi_device */ int (*tran_tgt_init)(); /* transport target */ /* initialization */ int (*tran_tgt_probe)(); /* transport target probe */ void (*tran_tgt_free)(); /* transport target free */ int (*tran_start)(); /* transport start */ int (*tran_reset)(); /* transport reset */ int (*tran_abort)(); /* transport abort */ int (*tran_getcap)(); /* capability retrieval */ int (*tran_setcap)(); /* capability establishment */ struct scsi_pkt *(*tran_init_pkt)(); /* packet and dma allocation */ void (*tran_destroy_pkt)(); /* packet and dma */ /* deallocation */ void (*tran_dmafree)(); /* dma deallocation */ void (*tran_sync_pkt)(); /* sync DMA */ void (*tran_reset_notify)(); /* bus reset notification */
dev_info pointer to the HBA supplying the scsi_hba_tran structure.
Private pointer which the HBA driver can use to refer to the device's soft state structure.
Private pointer which the HBA can use to refer to per-target specific data. This field may only be used when the SCSI_HBA_TRAN_CLONE flag is specified in scsi_hba_attach(9F). In this case, the HBA driver must initialize this field in its tran_tgt_init(9E) entry point.
Pointer to scsi_device(9S) structure if cloning; otherwise NULL.
Is the function entry allowing per-target HBA initialization, if necessary.
Is the function entry allowing per-target scsi_probe(9F) customization, if necessary.
Is the function entry allowing per-target HBA deallocation, if necessary.
Is the function entry that starts a SCSI command execution on the HBA hardware.
Is the function entry that resets a SCSI bus or target device.
Is the function entry that aborts one SCSI command, or all pending SCSI commands.
Is the function entry that retrieves a SCSI capability.
Is the function entry that sets a SCSI capability.
Is the function entry that allocates a scsi_pkt structure.
Is the function entry that frees a scsi_pkt structure allocated by tran_init_pkt.
is the function entry that frees DMA resources which were previously allocated by tran_init_pkt.
Synchronize data in pkt after a data transfer has been completed.
Is the function entry allowing a target to register a bus reset notification request with the HBA driver.
tran_abort(9E), tran_destroy_pkt(9E), tran_dmafree(9E), tran_getcap(9E), tran_init_pkt(9E), tran_reset(9E), tran_reset_notify(9E), tran_setcap(9E), tran_start(9E), tran_sync_pkt(9E), tran_tgt_free(9E), tran_tgt_init(9E), tran_tgt_probe(9E), ddi_dma_sync(9F), scsi_hba_attach(9F), scsi_hba_pkt_alloc(9F), scsi_hba_pkt_free(9F), scsi_probe(9F), scsi_device(9S), scsi_pkt(9S)
NAME | SYNOPSIS | INTERFACE LEVEL | DESCRIPTION | STRUCTURE MEMBERS | SEE ALSO