summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2002-01-11 16:51:15 +0000
committerJason Wright <jason@cvs.openbsd.org>2002-01-11 16:51:15 +0000
commit42eee3069a81d875bd10a4188226f11013dcbc17 (patch)
treeff60559719bf8699abc326f2ffc23fdc2a55e79d /sys/arch/sparc
parentf636fe86126b60a85f54931b1bf53abf74ceec85 (diff)
Oops, that's -disable- interrupt enable in cs4231_close()...
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r--sys/arch/sparc/dev/cs4231.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/cs4231.c b/sys/arch/sparc/dev/cs4231.c
index 7f8e8432813..51a8c8e9b64 100644
--- a/sys/arch/sparc/dev/cs4231.c
+++ b/sys/arch/sparc/dev/cs4231.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cs4231.c,v 1.7 2002/01/11 16:28:43 jason Exp $ */
+/* $OpenBSD: cs4231.c,v 1.8 2002/01/11 16:51:14 jason Exp $ */
/*
* Copyright (c) 1999 Jason L. Wright (jason@thought.net)
@@ -574,7 +574,7 @@ cs4231_close(addr)
cs4231_halt_input(sc);
cs4231_halt_output(sc);
regs->iar = CS_IAR_PC;
- regs->idr |= CS_PC_IEN;
+ regs->idr &= ~CS_PC_IEN;
sc->sc_open = 0;
}