Rechercher une page de manuel
ata_scsi_queuecmd
Langue: en
Version: May 2009 (fedora - 06/07/09)
Section: 9 (Appels noyau Linux)
NAME
ata_scsi_queuecmd - Issue SCSI cdb to libata-managed deviceSYNOPSIS
- int ata_scsi_queuecmd(struct scsi_cmnd * cmd, void (*done) (struct scsi_cmnd *));
ARGUMENTS
cmd
- SCSI command to be sent
done
- Completion function, called when command is complete
DESCRIPTION
In some cases, this function translates SCSI commands into ATA taskfiles, and queues the taskfiles to be sent to hardware. In other cases, this function simulates a SCSI device by evaluating and responding to certain SCSI commands. This creates the overall effect of ATA and ATAPI devices appearing as SCSI devices.
LOCKING
Releases scsi-layer-held lock, and obtains host lock.
RETURNS
Return value from __ata_scsi_queuecmd if cmd can be queued, 0 otherwise.
AUTHOR
Jeff Garzik
- Author.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre