ATA_SCSI_SIMULATE

Section: libata SCSI translation/emulat (9)
Updated: February 2011
Index Return to Main Contents
 

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