Writing Device Drivers

DMA Additions to the State Structure

This section adds the following fields to the state structure. See "Software State Structure" for more information.

	struct buf					*bp;					/* current transfer */
 	ddi_dma_handle_t				handle;
 	struct xxiopb					*iopb_array;		/* for I/O Parameter Blocks */
 	ddi_dma_handle_t				iopb_handle;