suse man page for ata_scsi_queuecmd

Query: ata_scsi_queuecmd

OS: suse

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

ATA_SCSI_QUEUECMD(9)					  libata SCSI translation/emulat				      ATA_SCSI_QUEUECMD(9)

NAME
ata_scsi_queuecmd - Issue SCSI cdb to libata-managed device
SYNOPSIS
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
Kernel Hackers Manual 2.6. July 2010 ATA_SCSI_QUEUECMD(9)
Related Man Pages
ata_scsi_translate(9) - suse
atapi_ide(7) - osf1
i2o_scsi(7d) - sunos
scsi_setup_cdb(9f) - sunos
scsi_setup_cdb(9f) - linux
Similar Topics in the Unix Linux Community
How to restrict user to a specific directory in solaris 10
Migrating to UNIX
Tar Command
Docker learning Phase-I
32 bit process addressing more than 4GB