Subject: CVS commit: syssrc/sys/dev/ic
To: None <source-changes@netbsd.org>
From: Manuel BOUYER <bouyer@netbsd.org>
List: source-changes
Date: 03/29/2002 00:52:00
Module Name: syssrc
Committed By: bouyer
Date: Thu Mar 28 22:51:59 UTC 2002
Modified Files:
syssrc/sys/dev/ic: wdc.c
Log Message:
In wdcintr(), it !WDCF_IRQ_WAIT, read the status register anyway to clear a
possible pending interrupt. This should avoid the interrupt loop described
in PR kern/15841.
It is safe to read status here, because if we're not waiting for an interrupt
we have no command pending, so the device should be idle.
To generate a diff of this commit:
cvs rdiff -r1.112 -r1.113 syssrc/sys/dev/ic/wdc.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.