ata_scsi_queuecmd (9) - Linux Man Pages
ata_scsi_queuecmd: Issue SCSI cdb to libata-managed device
ata_scsi_queuecmd - Issue SCSI cdb to libata-managed device
int ata_scsi_queuecmd(struct Scsi_Host
*shost, struct scsi_cmnd *cmd);
- SCSI host of command to be sent
- SCSI command to be sent
In some cases, this function translates SCSI commands into ATA taskfiles, and queues the taskfiles to be sent to hardware. In other cases, this function simulates a SCSI device by evaluating and responding to certain SCSI commands. This creates the overall effect of ATA and ATAPI devices appearing as SCSI devices.