Name

ata_tf_to_fis — Convert ATA taskfile to SATA FIS structure

Synopsis

void ata_tf_to_fis (const struct ata_taskfile * tf, u8 * fis, u8 pmp);

Arguments

tf

Taskfile to convert

fis

Buffer into which data will output

pmp

Port multiplier port

Description

Converts a standard ATA taskfile to a Serial ATA FIS structure (Register - Host to Device).

LOCKING

Inherited from caller.