ATA_SCSI_QUEUECMD

Section: (9)
Updated: 09 April 2004
Index Return to Main Contents

 

NAME

ata_scsi_queuecmd - Issue SCSI cdb to libata-managed device  

SYNOPSIS

int ata_scsi_queuecmd (Scsi_Cmnd * cmd, void (*done) 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_set lock.  

RETURNS

Zero.  

ABOUT THIS DOCUMENT

This documentation was generated with kernel version 2.6.0.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
LOCKING
RETURNS
ABOUT THIS DOCUMENT

This document was created by man2html, using the manual pages.
Time: 09:20:03 GMT, April 09, 2004