summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2006-05-18 17:34:24 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2006-05-18 17:34:24 +0000
commita015298996aee5508fa1203d9a9f6b0bc97abd3a (patch)
treefd288382b047f1d3a313d8bef1ec4566c15acfa0 /sys/dev/ic
parent71f9cb99d4779adb15089622f5c54d966bed5741 (diff)
Kill splbio/splx in the interrupt handler.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/mfi.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/ic/mfi.c b/sys/dev/ic/mfi.c
index c697ec28313..5d1e46f09d9 100644
--- a/sys/dev/ic/mfi.c
+++ b/sys/dev/ic/mfi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mfi.c,v 1.39 2006/05/18 17:25:02 marco Exp $ */
+/* $OpenBSD: mfi.c,v 1.40 2006/05/18 17:34:23 marco Exp $ */
/*
* Copyright (c) 2006 Marco Peereboom <marco@peereboom.us>
*
@@ -754,13 +754,11 @@ mfi_intr(void *arg)
struct mfi_ccb *ccb;
uint32_t status, producer, consumer, ctx;
int claimed = 0;
- int s;
status = mfi_read(sc, MFI_OSTS);
if ((status & MFI_OSTS_INTR_VALID) == 0)
return (claimed);
/* write status back to acknowledge interrupt */
- s = splbio();
mfi_write(sc, MFI_OSTS, status);
DNPRINTF(MFI_D_INTR, "%s: mfi_intr %#x %#x\n", DEVNAME(sc), sc, pcq);
@@ -793,7 +791,6 @@ mfi_intr(void *arg)
}
pcq->mpc_consumer = consumer;
- splx(s);
return (claimed);
}