ATA_SCSI_TRANSLATE
Section: (9)
Updated: 09 October 2005
Index
Return to Main Contents
NAME
ata_scsi_translate - Translate then issue SCSI command to ATA device
SYNOPSIS
"SYNOPSIS"
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);
ARGUMENTS
- ap
-
ATA port to which the command is addressed
- dev
-
ATA device to which the command is addressed
- cmd
-
SCSI command to execute
- done
-
SCSI command completion function
- xlat_func
-
Actor which translates cmd to an ATA taskfile
DESCRIPTION
Our ->queuecommand function has decided that the SCSI
command issued can be directly translated into an ATA
command, rather than handled internally.
This function sets up an ata_queued_cmd structure for the
SCSI command, and sends that ata_queued_cmd to the hardware.
LOCKING
spin_lock_irqsave(host_set lock)
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
- LOCKING
-
This document was created by
man2html,
using the manual pages.
Time: 00:01:57 GMT, October 09, 2005