MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Driver Entry Points                             transyncpkt(9E)



NAME
     transyncpkt - SCSI HBA memory synchronization entry point

SYNOPSIS
     #include 



     void prefixtransyncpkt(struct scsiaddress *ap,
          struct scsipkt *pkt);


INTERFACE LEVEL
     Solaris architecture specific (Solaris DI).

PARAMETERS
     ap      A pointer to a scsiaddress(9S) structure.


     pkt     A pointer to a scsipkt(9S) structure.


DESCRIPTION
     The transyncpkt() vector in the  scsihbatran(9S)  struc-
     ture  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 scsisyncpkt(9F).


     transyncpkt() must synchronize a HBA's or device's view of
     the  data  associated  with  the  pkt,  typically by calling
     ddidmasync(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),       traninitpkt(9E),       ddidmasync(9F),
     scsihbaattach(9F),  scsiinitpkt(9F),  scsisyncpkt(9F),
     scsiaddress(9S), scsihbatran(9S), scsipkt(9S)


     Writing Device Drivers

NOTES
     A target driver may  call  transyncpkt()  on  packets  for
     which no DMA resources were allocated.









SunOS 5.11           Last change: 1 Nov 1993                    1



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™