<dec f='src/src/sys/dev/ic/adwlib.h' l='1063' type='int AdwISR(ADW_SOFTC * )'/>
<use f='src/src/sys/dev/ic/adw.c' l='793' u='c' c='adw_intr'/>
<def f='src/src/sys/dev/ic/adwlib.c' l='1973' ll='2111' type='int AdwISR(ADW_SOFTC * sc)'/>
<doc f='src/src/sys/dev/ic/adwlib.c' l='1954'>/*
 * Adv Library Interrupt Service Routine
 *
 *  This function is called by a driver&apos;s interrupt service routine.
 *  The function disables and re-enables interrupts.
 *
 *  When a microcode idle command is completed, the ADV_DVC_VAR
 *  &apos;idle_cmd_done&apos; field is set to ADW_TRUE.
 *
 *  Note: AdwISR() can be called when interrupts are disabled or even
 *  when there is no hardware interrupt condition present. It will
 *  always check for completed idle commands and microcode requests.
 *  This is an important feature that shouldn&apos;t be changed because it
 *  allows commands to be completed from polling mode loops.
 *
 * Return:
 *   ADW_TRUE(1) - interrupt was pending
 *   ADW_FALSE(0) - no interrupt was pending
 */</doc>
