summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2000-08-28 22:01:41 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2000-08-28 22:01:41 +0000
commitbbbc781195513956d6179239bb9e39578362b29e (patch)
tree838787ce6149a2bbda79d69669b9964fdff18dae /sys/arch
parenta21fb93916601edd2db2e154c98b16f3938713bc (diff)
Always claim scsi interrupts, prevents looping interrupts (from NetBSD)
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sun3/dev/si.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/sys/arch/sun3/dev/si.c b/sys/arch/sun3/dev/si.c
index f73e98f71be..5c7358166f9 100644
--- a/sys/arch/sun3/dev/si.c
+++ b/sys/arch/sun3/dev/si.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: si.c,v 1.10 2000/06/06 20:51:41 miod Exp $ */
+/* $OpenBSD: si.c,v 1.11 2000/08/28 22:01:40 miod Exp $ */
/* $NetBSD: si.c,v 1.31 1996/11/20 18:56:59 gwr Exp $ */
/*-
@@ -104,14 +104,8 @@
#include <dev/ic/ncr5380reg.h>
#include <dev/ic/ncr5380var.h>
-#include "sireg.h"
-#include "sivar.h"
-
-/*
- * Transfers smaller than this are done using PIO
- * (on assumption they're not worth DMA overhead)
- */
-#define MIN_DMA_LEN 128
+#include <sun3/dev/sireg.h>
+#include <sun3/dev/sivar.h>
int si_debug = 0;
#ifdef DEBUG
@@ -281,6 +275,8 @@ si_intr(void *arg)
}
}
#endif
+ /* claim the interrupt anyways */
+ claimed = 1;
}
return (claimed);