Name

ata_bmdma_setup — Set up PCI IDE BMDMA transaction

Synopsis

void ata_bmdma_setup (struct ata_queued_cmd * qc);

Arguments

qc

Info associated with this ATA transaction.

Description

Writes address of PRD table to device's PRD Table Address register, sets the DMA control register, and calls ops->exec_command to start the transfer.

May be used as the bmdma_setup entry in ata_port_operations.

LOCKING

spin_lock_irqsave(host_set lock)