Actions
Feature #5354
open200: DMA maps for SCSI commands
Status:
New
Priority:
Normal
Assignee:
-
Start date:
10/20/2014
Due date:
% Done:
0%
Estimated time:
Published in build:
Description
Description
DMA map for SCSI command is created by the function int scsi_dma_map(struct scsi_cmnd *) if its first argument is a correct pointer to a structure of SCSI command. A DMA map is destroyed by function int scsi_dma_unmap(struct scsi_cmnd *). If scsi_dma_map returns zero, the scsi_dma_unmap is not necessary, but is not an error as well. The correct usage includes:- unmap only created maps;
- create only one map for particular SCSI command;
- cancel all created maps before shutdown of the module.
Updated by Pavel Andrianov about 10 years ago
- Subject changed from 200_8a: DMA maps for SCSI commands to 200: DMA maps for SCSI commands
Actions