summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1996-09-22 05:16:41 +0000
committerJason Downs <downsj@cvs.openbsd.org>1996-09-22 05:16:41 +0000
commit5c3cdc3dba4ef548d640fb6754db35e260831e32 (patch)
tree522b4f30d555a47d4a121d0ec7c987e4eb65e8f2
parent6e6edb70f84fb778d533833a38014456decc6e73 (diff)
add a slight delay
-rw-r--r--sys/dev/isa/wdc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/isa/wdc.c b/sys/dev/isa/wdc.c
index 4362995ea87..2ea131073b7 100644
--- a/sys/dev/isa/wdc.c
+++ b/sys/dev/isa/wdc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wdc.c,v 1.10 1996/09/16 02:38:20 downsj Exp $ */
+/* $OpenBSD: wdc.c,v 1.11 1996/09/22 05:16:40 downsj Exp $ */
/* $NetBSD: wd.c,v 1.150 1996/05/12 23:54:03 mycroft Exp $ */
/*
@@ -676,6 +676,8 @@ wdcintr(arg)
struct wdc_xfer *xfer;
if ((wdc->sc_flags & WDCF_IRQ_WAIT) == 0) {
+ DELAY(100);
+
/* Clear the pending interrupt and abort. */
u_char s = bus_io_read_1(bc, ioh, wd_status);
#ifdef ATAPI_DEBUG_WDC