ATAPI_SCSI_QUEUECMD

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

 

NAME

atapi_scsi_queuecmd - Send CDB to ATAPI device  

SYNOPSIS

void atapi_scsi_queuecmd (struct ata_port * ap, struct ata_device * dev, struct scsi_cmnd * cmd, void (*done) struct scsi_cmnd *);  

ARGUMENTS

ap
Port to which ATAPI device is attached.
dev
Target device for CDB.
cmd
SCSI command being sent to device.
done
SCSI command completion function.
 

DESCRIPTION

Sends CDB to ATAPI device. If the Linux SCSI layer sends a non-data command, then this function handles the command directly, via polling. Otherwise, the bmdma engine is started.  

LOCKING

spin_lock_irqsave(host_set lock)  

ABOUT THIS DOCUMENT

This documentation was generated with kernel version 2.6.1.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
LOCKING
ABOUT THIS DOCUMENT

This document was created by man2html, using the manual pages.
Time: 11:21:55 GMT, April 13, 2004