1ATA_SCSI_SIMULATE(9) libata SCSI translation/emulat ATA_SCSI_SIMULATE(9)
2
3
4
6 ata_scsi_simulate - simulate SCSI command on ATA device
7
9 void ata_scsi_simulate(struct ata_device * dev, struct scsi_cmnd * cmd,
10 void (*done) (struct scsi_cmnd *));
11
13 dev
14 the target device
15
16 cmd
17 SCSI command being sent to device.
18
19 done
20 SCSI command completion function.
21
23 Interprets and directly executes a select list of SCSI commands that
24 can be handled internally.
25
27 spin_lock_irqsave(host lock)
28
30 Jeff Garzik
31 Author.
32
34Kernel Hackers Manual 2.6. November 2011 ATA_SCSI_SIMULATE(9)