Specifications

scsi_hba_tran SCSI Host Bus Adapter (HBA) driver transport vector structure
#include <sys/scsi/scsi.h>
Solaris architecture specic (Solaris DDI).
A scsi_hba_tran_t structure denes vectors that an HBA driver exports to SCSA
interfaces so that HBA specic functions can be executed.
dev_info_t *tran_hba_dip; /* HBAs dev_info pointer */
void *tran_hba_private; /* HBA softstate */
void *tran_tgt_private; /* 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 */
int (*tran_bus_reset)( ); /* Reset bus only */
int (*tran_quiesce)( ); /* Quiesce a bus */
int (*tran_unquiesce)( ); /* Unquiesce a bus */
tran_hba_dip dev_info pointer to the HBA supplying the
scsi_hba_tran structure.
tran_hba_private Private pointer that the HBA driver can use to refer to
the devices soft state structure.
tran_tgt_private Private pointer that the HBA can use to refer to
per-target specic data. This eld can only be used
when the SCSI_HBA_TRAN_CLONE ag is specied in
scsi_hba_attach(9F). In this case, the HBA driver
must initialize this eld in its tran_tgt_init(9E)
entry point.
tran_sd Pointer to scsi_device(9S) structure if cloning;
otherwise NULL.
tran_tgt_init The function entry allowing per-target HBA
initialization, if necessary.
tran_tgt_probe The function entry allowing per-target
scsi_probe(9F) customization, if necessary.
tran_tgt_free The function entry allowing per-target HBA
deallocation, if necessary.
scsi_hba_tran(9S)
NAME
SYNOPSIS
INTERFACE
LEVEL
DESCRIPTION
STRUCTURE
MEMBERS
92 man pages section 9: DDI and DKI Properties and Data Structures Last Revised 20 Sep 1994