opensolaris man page for tran_sync_pkt

Query: tran_sync_pkt

OS: opensolaris

Section: 9e

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

tran_sync_pkt(9E)						Driver Entry Points						 tran_sync_pkt(9E)

NAME
tran_sync_pkt - SCSI HBA memory synchronization entry point
SYNOPSIS
#include <sys/scsi/scsi.h> void prefixtran_sync_pkt(struct scsi_address *ap, struct scsi_pkt *pkt);
INTERFACE LEVEL
Solaris architecture specific (Solaris DDI).
PARAMETERS
ap A pointer to a scsi_address(9S) structure. pkt A pointer to a scsi_pkt(9S) structure.
DESCRIPTION
The tran_sync_pkt() vector in the scsi_hba_tran(9S) structure must be initialized during the HBA driver's attach(9E) to point to an HBA driver entry point to be called when a target driver calls scsi_sync_pkt(9F). tran_sync_pkt() must synchronize a HBA's or device's view of the data associated with the pkt, typically by calling ddi_dma_sync(9F). The operation may also involve HBA hardware-specific details, such as flushing I/O caches, or stalling until hardware buffers have been drained.
SEE ALSO
attach(9E), tran_init_pkt(9E), ddi_dma_sync(9F), scsi_hba_attach(9F), scsi_init_pkt(9F), scsi_sync_pkt(9F), scsi_address(9S), scsi_hba_tran(9S), scsi_pkt(9S) Writing Device Drivers
NOTES
A target driver may call tran_sync_pkt() on packets for which no DMA resources were allocated. SunOS 5.11 1 Nov 1993 tran_sync_pkt(9E)
Related Man Pages
scsi_hba_tran(9s) - suse
tran_destroy_pkt(9e) - suse
scsi_hba_tran(9s) - xfree86
scsi_hba_tran(9s) - osx
scsi_hba_tran(9s) - debian
Similar Topics in the Unix Linux Community
Fibre connection Point to Point SUN
After update Solaris version, HBA driver still need to install?
I need command for HBA model &amp; firmware please
Performance (iops) becomes bad, what is the reason?
Solaris 10: how to disable an unused HBA card