Name

ata_scsi_pass_thru — convert ATA pass-thru CDB to taskfile

Synopsis

unsigned int ata_scsi_pass_thru (struct ata_queued_cmd * qc, const u8 * scsicmd);

Arguments

qc

command structure to be initialized

scsicmd

SCSI command to convert

Description

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

RETURNS

Zero on success, non-zero on failure.