Provided by: linux-doc-2.6.15_2.6.15-23.39_all
ata_scsi_queuecmd - Issue SCSI cdb to libata-managed device
int ata_scsi_queuecmd (struct scsi_cmnd * cmd,
void (*done) <funcparams>struct scsi_cmnd *</funcparams>);
cmd SCSI command to be sent
done Completion function, called when command is complete
In some cases, this function translates SCSI commands into ATA
taskfiles, and queues the taskfiles to be sent to hardware. In other
cases, this function simulates a SCSI device by evaluating and
responding to certain SCSI commands. This creates the overall effect of
ATA and ATAPI devices appearing as SCSI devices.
Releases scsi-layer-held lock, and obtains host_set lock.