ata_scsi_rw_xlat - Translate SCSI r/w command into an ATA one
2. SYNOPSIS ▲
unsigned int ata_scsi_rw_xlat(struct ata_queued_cmd * qc );
3. ARGUMENTS ▲
Storage for translated ATA taskfile
4. DESCRIPTION ▲
Converts any of six SCSI read/write commands into the ATA counterpart, including starting sector (LBA), sector count, and taking into account the deviceAqs LBA48 support.
Commands READ_6, READ_10, READ_16, WRITE_6, WRITE_10, and WRITE_16 are currently supported.
5. LOCKING ▲
6. RETURNS ▲
Zero on success, non-zero on error.
7. AUTHOR ▲
8. COPYRIGHT ▲