atapi_cdb_send

Name

atapi_cdb_send --  Write CDB bytes to hardware

Synopsis

void atapi_cdb_send (struct ata_port * ap);

Arguments

ap

Port to which ATAPI device is attached.

Description

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.

LOCKING

Kernel thread context (may sleep)