Name

ata_scsi_simulate — simulate SCSI command on ATA device

Synopsis

void ata_scsi_simulate (u16 *  id,
 struct scsi_cmnd *  cmd,
 void (* done) (struct scsi_cmnd *));

Arguments

id

current IDENTIFY data for 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_set lock)