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.