.\" 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 "SCSI_DONE" "" "06 October 2005" "" "" .SH NAME scsi_done \- Enqueue the finished SCSI command into the done queue. .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp void scsi_done (struct scsi_cmnd * \fIcmd\fB); \fR .SH "ARGUMENTS" .TP \fB\fIcmd\fB\fR The SCSI Command for which a low-level device driver (LLDD) gives ownership back to SCSI Core -- i.e. the LLDD has finished with it. .SH "DESCRIPTION" .PP This function is the mid-level's (SCSI Core) interrupt routine, which regains ownership of the SCSI command (de facto) from a LLDD, and enqueues the command to the done queue for further processing. .PP This is the producer of the done queue who enqueues at the tail. .PP This function is interrupt context safe.