1. NAME▲

ata_sg_setup - DMA-map the scatter-gather table associated with a command.

2. SYNOPSIS ▲

int ata_sg_setup(struct ata_queued_cmd *  qc );

3. ARGUMENTS ▲

qc
    Command with scatter-gather table to be mapped.

4. DESCRIPTION ▲

DMA-map the scatter-gather table associated with queued_cmd qc.

5. LOCKING ▲

spin_lock_irqsave(host lock)

6. RETURNS ▲

Zero on success, negative on error.

7. AUTHOR ▲

Jeff Garzik
    Author.

8. COPYRIGHT ▲