Name

ata_do_simple_cmd — Set port up for dma.

Synopsis

int ata_do_simple_cmd (struct ata_port * ap, struct ata_device * dev, u8 cmd);

Arguments

ap

Port to initialize

dev

-- undescribed --

cmd

-- undescribed --

Description

Called just after data structures for each port are initialized. Allocates space for PRD table.

May be used as the port_start entry in ata_port_operations.

LOCKING

Inherited from caller.