---
name: "ata_scsi_pass_thru"
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_scsi_pass_thru"
---

# ata\_scsi\_pass\_thru(9)

convert ATA pass-thru CDB to taskfile

## NAME

ata\_scsi\_pass\_thru - convert ATA pass-thru CDB to taskfile

## SYNOPSIS

**unsigned int ata\_scsi\_pass\_thru(struct ata\_queued\_cmd \*** *qc***);**

## ARGUMENTS

*qc*

command structure to be initialized

## DESCRIPTION

Handles either 12 or 16-byte versions of the CDB.

## RETURN

Zero on success, non-zero on failure.

## AUTHOR

**Jeff Garzik**

Author.

## COPYRIGHT
