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

struct scsi_cmnd * cmd

SCSI command to be sent

struct ata_port * ap

ATA port to which the command is being sent

Return

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