ata_scsi_translate — Translate then issue SCSI command to ATA device
void ata_scsi_translate ( | struct ata_port * | ap, |
| struct ata_device * | dev, | |
| struct scsi_cmnd * | cmd, | |
| void (* | done)
(struct scsi_cmnd *), | |
| ata_xlat_func_t | xlat_func); |
apATA port to which the command is addressed
devATA device to which the command is addressed
cmdSCSI command to execute
doneSCSI command completion function
xlat_func
Actor which translates cmd to an ATA taskfile