Name

ata_scsi_simulate — simulate SCSI command on ATA device

Synopsis

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

Arguments

ap

-- undescribed --

dev

-- undescribed --

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_set lock)