Name
ata_tf_to_fis —
Convert ATA taskfile to SATA FIS structure
Synopsis
void ata_tf_to_fis ( | const struct ata_taskfile * tf, |
| u8 pmp, |
| int is_cmd, |
| u8 * fis) ; |
Arguments
const struct ata_taskfile * tf
Taskfile to convert
u8 pmp
Port multiplier port
int is_cmd
This FIS is for command
u8 * fis
Buffer into which data will output
Description
Converts a standard ATA taskfile to a Serial ATA
FIS structure (Register - Host to Device).
LOCKING:
Inherited from caller.