<dec f='src/src/sys/dev/ic/adwlib.h' l='1062' type='int AdwExeScsiQueue(ADW_SOFTC * , ADW_SCSI_REQ_Q * )'/>
<use f='src/src/sys/dev/ic/adw.c' l='342' u='c' c='adw_queue_ccb'/>
<def f='src/src/sys/dev/ic/adwlib.c' l='1698' ll='1808' type='int AdwExeScsiQueue(ADW_SOFTC * sc, ADW_SCSI_REQ_Q * scsiq)'/>
<doc f='src/src/sys/dev/ic/adwlib.c' l='1681'>/*
 * AdwExeScsiQueue() - Send a request to the RISC microcode program.
 *
 *   Allocate a carrier structure, point the carrier to the ADW_SCSI_REQ_Q,
 *   add the carrier to the ICQ (Initiator Command Queue), and tickle the
 *   RISC to notify it a new command is ready to be executed.
 *
 * If &apos;done_status&apos; is not set to QD_DO_RETRY, then &apos;error_retry&apos; will be
 * set to SCSI_MAX_RETRY.
 *
 * Return:
 *      ADW_SUCCESS(1) - The request was successfully queued.
 *      ADW_BUSY(0) -    Resource unavailable; Retry again after pending
 *                       request completes.
 *      ADW_ERROR(-1) -  Invalid ADW_SCSI_REQ_Q request structure
 *                       host IC error.
 */</doc>
