---
name: "ata_sas_queuecmd"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/ata_sas_queuecmd"
---

# ata\_sas\_queuecmd(9)

Issue SCSI cdb to libata-managed device

## 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.

## AUTHOR

**Jeff Garzik**

Author.

## COPYRIGHT
