ata_check_atapi_dma(9)

ata_check_atapi_dma9

Check whether atapi dma can be supported

Usage

int ata_check_atapi_dma(struct ata_queued_cmd * qc);

Arguments

qc

Metadata associated with taskfile to check

Overview

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.

Locking

spin_lock_irqsave(host_set lock)

Returns

0 when ATAPI DMA can be used nonzero otherwise

Author

Jeff Garzik

Author.

From linux-manual-2.6.18 2.6.18.dfsg.1-26etch2 in Debian 4.0 (Etch). Also shipped by linux-manual-2.6.24. Parsed by carta from the page's man source.