ATA_SAS_QUEUECMD(9) libata SCSI translation/emulat ATA_SAS_QUEUECMD(9)
NAME
ata_sas_queuecmd - Issue SCSI cdb to libata-managed device
SYNOPSIS
int ata_sas_queuecmd(struct scsi_cmnd * cmd, void (*done) (struct scsi_cmnd *), struct ata_port * ap);
ARGUMENTS
cmd
SCSI command to be sent
done
Completion function, called when command is complete
ap
ATA port to which the command is being sent
RETURNS
Return value from __ata_scsi_queuecmd if cmd can be queued, 0 otherwise.
AUTHOR
Jeff Garzik
Author.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 ATA_SAS_QUEUECMD(9)