.\" 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_CHECK_ATAPI_DMA" "9" "09 October 2005" "" ""
.SH NAME
ata_check_atapi_dma \- Check whether ATAPI DMA can be supported
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int ata_check_atapi_dma (struct ata_queued_cmd * \fIqc\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIqc\fB\fR
Metadata associated with taskfile to check
.SH "DESCRIPTION"
.PP
Allow low-level driver to filter ATA PACKET commands, returning
a status indicating whether or not it is OK to use DMA for the
supplied PACKET command.
.SH "LOCKING"
.PP
spin_lock_irqsave(host_set lock)
.SH "RETURNS"
.PP
0 when ATAPI DMA can be used
nonzero otherwise