ATAPI_SCSI_QUEUECMD

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

atapi_scsi_queuecmd - Send CDB to ATAPI device  

SYNOPSIS

"SYNOPSIS"

void atapi_scsi_queuecmd (struct ata_port * ap, struct ata_device * dev, Scsi_Cmnd * cmd, void (*done) 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)


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
LOCKING

This document was created by man2html, using the manual pages.
Time: 06:20:40 GMT, October 06, 2005