1. NAME

scsi_dma_map - perform DMA mapping against commandAqs sg lists

2. SYNOPSIS

int scsi_dma_map(struct scsi_cmnd *  cmd );

3. ARGUMENTS

cmd
    scsi command

4. DESCRIPTION

Returns the number of sg lists actually used, zero if the sg lists is NULL, or -ENOMEM if the mapping failed.

5. AUTHORS

James Bottomley < >
    Author.

Rob Landley < >
    Author.

6. COPYRIGHT