diff options
| author | John Dyson <dyson@FreeBSD.org> | 1997-08-04 05:26:49 +0000 |
|---|---|---|
| committer | John Dyson <dyson@FreeBSD.org> | 1997-08-04 05:26:49 +0000 |
| commit | 8ee6f26a8c72db5a6c9fc7b6914f27426be18d36 (patch) | |
| tree | 5a984205c41dc95f6d1343518744a62b2872e8c9 | |
| parent | 5fd549b62eeb2d34acff683fceabcc532ea7eb4a (diff) | |
Notes
| -rw-r--r-- | sys/i386/isa/wd.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/i386/isa/wd.c b/sys/i386/isa/wd.c index 09231ada4ca8..d2cd257a67cf 100644 --- a/sys/i386/isa/wd.c +++ b/sys/i386/isa/wd.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)wd.c 7.2 (Berkeley) 5/9/91 - * $Id: wd.c,v 1.132 1997/07/20 14:10:17 bde Exp $ + * $Id: wd.c,v 1.133 1997/07/29 12:57:24 sos Exp $ */ /* TODO: @@ -1037,6 +1037,9 @@ wdintr(int unit) /* finish off DMA. ignore errors if we're not using it. */ if (du->dk_flags & (DKFL_DMA|DKFL_USEDMA)) { + if ((wddma.wdd_dmastatus(du->dk_dmacookie) & WDDS_INTERRUPT) == 0) + return; + if ((wddma.wdd_dmadone(du->dk_dmacookie) != WDDS_INTERRUPT) && !(du->dk_flags & DKFL_USEDMA)) { wderror(bp, du, "wdintr: DMA failure"); |
