summaryrefslogtreecommitdiff
path: root/sys/arch/amiga/dev
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-02-07 07:46:51 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-02-07 07:46:51 +0000
commit8893b355d53fce68341d4b27579a5242a58ff37d (patch)
treeb425a8a91a22a16b8b872d293870016a6bb9647a /sys/arch/amiga/dev
parent986df46f0e72935c74aa048da74c5ff32f118d96 (diff)
XXX two horrible abuses of spl.
Diffstat (limited to 'sys/arch/amiga/dev')
-rw-r--r--sys/arch/amiga/dev/drsc.c3
-rw-r--r--sys/arch/amiga/dev/par.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/amiga/dev/drsc.c b/sys/arch/amiga/dev/drsc.c
index 49ec38539dc..8d111a70870 100644
--- a/sys/arch/amiga/dev/drsc.c
+++ b/sys/arch/amiga/dev/drsc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: drsc.c,v 1.4 1997/01/18 12:26:27 niklas Exp $ */
+/* $OpenBSD: drsc.c,v 1.5 2001/02/07 07:46:50 art Exp $ */
/* $NetBSD: drsc.c,v 1.9 1996/12/23 09:09:57 veego Exp $ */
/*
@@ -189,6 +189,7 @@ drsc_handler()
* interrupt.
*/
#ifdef DRSC_NOCALLBACK
+ /* XXX */
(void)spl1();
siopintr(sc);
#else
diff --git a/sys/arch/amiga/dev/par.c b/sys/arch/amiga/dev/par.c
index 3785817bef2..77d75b8ab41 100644
--- a/sys/arch/amiga/dev/par.c
+++ b/sys/arch/amiga/dev/par.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: par.c,v 1.6 2000/07/06 15:42:48 ho Exp $ */
+/* $OpenBSD: par.c,v 1.7 2001/02/07 07:46:50 art Exp $ */
/* $NetBSD: par.c,v 1.16 1996/12/23 09:10:28 veego Exp $ */
/*
@@ -317,6 +317,8 @@ again:
/*
* Check if we timed out during sleep or uiomove
*/
+ /* XXXX - Ieeeeek! this is a horrible abuse. It's probably not even
+ * right */
(void) spllowersoftclock();
if ((sc->sc_flags & PARF_UIO) == 0)
{