Added bus flushing read on exit from ISR to fix "out of order transactions"; symptom "Spurious interrupts".

This commit is contained in:
Ron Sluiter
2013-11-15 19:44:42 +00:00
parent 2097ad3ef7
commit 8a99070ad6
+4 -2
View File
@@ -82,6 +82,8 @@ HeadURL: $URL$
* .17 07-26-12 rls - Added reboot flag to IRQ control register. Driver
* sets IRQ_RESET_ID bit on; set_status() and send_mess()
* read IRQ register and disable board if flag is off.
* .18 11-15-03 rls - Added bus flushing read on exit from ISR to prevent
* "out of order transactions".
*/
/*========================stepper motor driver ========================
@@ -900,8 +902,8 @@ static void motorIsr(int card)
}
irqdata->recv_sem->signal();
}
/* Update-interrupt state */
pmotor->control = control;
pmotor->control = control; /* Update-interrupt state. */
control = pmotor->control; /* Read it back to flush last write cycle. */
}
static int motorIsrEnable(int card)