TRAN_DMAFREE(9E) | Driver Entry Points | TRAN_DMAFREE(9E) |
#include <sys/scsi/scsi.h> void prefixtran_dmafree(struct scsi_address *ap, struct scsi_pkt *pkt);
pkt
tran_dmafree() must deallocate any DMA resources previously allocated to this pkt in a call to tran_init_pkt(9E). tran_dmafree() should not free the structure pointed to by pkt itself. Since tran_destroy_pkt(9E) must also free DMA resources, it is important that the HBA driver keeps accurate note of whether scsi_pkt(9S) structures have DMA resources allocated.
Writing Device Drivers
August 30, 1995 | OmniOS |