ATA_SCSI_SIMULATE(9) libata SCSI translation/emulat ATA_SCSI_SIMULATE(9)

NAME ata_scsi_simulate - simulate SCSI command on ATA device

SYNOPSIS void ata_scsi_simulate(struct ata_device * dev, struct scsi_cmnd * cmd, void (*done) (struct scsi_cmnd *));

ARGUMENTS dev the target device

cmd SCSI command being sent to device.

done SCSI command completion function.

DESCRIPTION Interprets and directly executes a select list of SCSI commands that can be handled internally.

LOCKING spin_lock_irqsave(host lock)

AUTHOR Jeff Garzik Author.

COPYRIGHT Kernel Hackers Manual 2.6. September 2014 ATA_SCSI_SIMULATE(9)