.\" 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_PACKET_TASK" "9" "09 October 2005" "" ""
.SH NAME
atapi_packet_task \- Write CDB bytes to hardware
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
void atapi_packet_task (void * \fI_data\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fI_data\fB\fR
Port to which ATAPI device is attached.
.SH "DESCRIPTION"
.PP
When device has indicated its readiness to accept
a CDB, this function is called. Send the CDB.
If DMA is to be performed, exit immediately.
Otherwise, we are in polling mode, so poll
status under operation succeeds or fails.
.SH "LOCKING"
.PP
Kernel thread context (may sleep)