.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "ATAPI_SCSI_QUEUECMD" "" "06 October 2005" "" "" .SH NAME atapi_scsi_queuecmd \- Send CDB to ATAPI device .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp void atapi_scsi_queuecmd (struct ata_port * \fIap\fB, struct ata_device * \fIdev\fB, Scsi_Cmnd * \fIcmd\fB, void (*\fIdone\fB) Scsi_Cmnd *); \fR .SH "ARGUMENTS" .TP \fB\fIap\fB\fR Port to which ATAPI device is attached. .TP \fB\fIdev\fB\fR Target device for CDB. .TP \fB\fIcmd\fB\fR SCSI command being sent to device. .TP \fB\fIdone\fB\fR SCSI command completion function. .SH "DESCRIPTION" .PP 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. .SH "LOCKING" .PP spin_lock_irqsave(host_set lock)