summaryrefslogtreecommitdiff
path: root/sys/arch/sun3
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2000-07-14 14:28:57 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2000-07-14 14:28:57 +0000
commita610e7416b65d4f492ae96f968ab98dbed3f0c9d (patch)
tree014dbb2c42795a273a63aed3e58f18bd0fe6f676 /sys/arch/sun3
parent446cb1c912ac702733bf03c21a9c07f5d9a52c2b (diff)
Enable interrupts after configuration phase.
Diffstat (limited to 'sys/arch/sun3')
-rw-r--r--sys/arch/sun3/sun3/autoconf.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/arch/sun3/sun3/autoconf.c b/sys/arch/sun3/sun3/autoconf.c
index b56dd2e0cca..7d9c7bc2c23 100644
--- a/sys/arch/sun3/sun3/autoconf.c
+++ b/sys/arch/sun3/sun3/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.8 1999/11/09 14:30:39 art Exp $ */
+/* $OpenBSD: autoconf.c,v 1.9 2000/07/14 14:28:56 miod Exp $ */
/* $NetBSD: autoconf.c,v 1.37 1996/11/20 18:57:22 gwr Exp $ */
/*-
@@ -82,6 +82,13 @@ configure()
swapgeneric();
swapconf();
dumpconf();
+
+ /*
+ * Now that device autoconfiguration is finished,
+ * we can safely enable interrupts.
+ */
+ printf("enabling interrupts\n");
+ (void)spl0();
cold = 0;
}