Name

ata_sas_queuecmd — Issue SCSI cdb to libata-managed device

Synopsis

int ata_sas_queuecmd (struct scsi_cmnd * cmd,
 struct ata_port * ap);
 

Arguments

cmd

SCSI command to be sent

ap

ATA port to which the command is being sent

Return

Return value from __ata_scsi_queuecmd if cmd can be queued, 0 otherwise.