summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordownsj <downsj@openbsd.org>1996-09-22 05:16:40 +0000
committerdownsj <downsj@openbsd.org>1996-09-22 05:16:40 +0000
commit12b3a4430906b4fe9569b16aaaad7a7ce7bc55f2 (patch)
tree04040445f164029deb1ef3e166afc1539ff73439
parentrandom function name (diff)
downloadwireguard-openbsd-12b3a4430906b4fe9569b16aaaad7a7ce7bc55f2.tar.xz
wireguard-openbsd-12b3a4430906b4fe9569b16aaaad7a7ce7bc55f2.zip
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