ata_prot_to_cmd

Name

ata_prot_to_cmd --  determine which read/write opcodes to use

Synopsis

int ata_prot_to_cmd (int protocol, int lba48);

Arguments

protocol

ATA_PROT_xxx taskfile protocol

lba48

true is lba48 is present

Description

Given necessary input, determine which read/write commands to use to transfer data.

LOCKING

None.