summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrad <brad@openbsd.org>2006-01-04 22:22:09 +0000
committerbrad <brad@openbsd.org>2006-01-04 22:22:09 +0000
commitc46f6cd8d8f58bc5598965e7e7d1d70015922589 (patch)
treedbe0696c6c79e0ede994758c1dfd2307e8448846
parentesm_cmd has to wait for two registers to change state for every command (diff)
downloadwireguard-openbsd-c46f6cd8d8f58bc5598965e7e7d1d70015922589.tar.xz
wireguard-openbsd-c46f6cd8d8f58bc5598965e7e7d1d70015922589.zip
Return from interrupt handler after chip init(reset).
From petrov NetBSD ok miod@
-rw-r--r--sys/dev/ic/ncr53c9x.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/ncr53c9x.c b/sys/dev/ic/ncr53c9x.c
index eb06ba0876e..17f7ef8dbe7 100644
--- a/sys/dev/ic/ncr53c9x.c
+++ b/sys/dev/ic/ncr53c9x.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ncr53c9x.c,v 1.26 2006/01/04 20:49:32 miod Exp $ */
+/* $OpenBSD: ncr53c9x.c,v 1.27 2006/01/04 22:22:09 brad Exp $ */
/* $NetBSD: ncr53c9x.c,v 1.56 2000/11/30 14:41:46 thorpej Exp $ */
/*
@@ -2034,6 +2034,7 @@ again:
printf("%s: DMA error; resetting\n",
sc->sc_dev.dv_xname);
ncr53c9x_init(sc, 1);
+ return (1);
}
/* If DMA active here, then go back to work... */
if (NCRDMA_ISACTIVE(sc))