.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "ATA_SG_SETUP" "9" "09 October 2005" "" ""
.SH NAME
ata_sg_setup \- DMA-map the scatter-gather table associated with a command.
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int ata_sg_setup (struct ata_queued_cmd * \fIqc\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIqc\fB\fR
Command with scatter-gather table to be mapped.
.SH "DESCRIPTION"
.PP
DMA-map the scatter-gather table associated with queued_cmd \fIqc\fR\&.
.SH "LOCKING"
.PP
spin_lock_irqsave(host_set lock)
.SH "RETURNS"
.PP
Zero on success, negative on error.