diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2007-07-14 19:06:49 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2007-07-14 19:06:49 +0000 |
commit | 8fe6e53556c8d396ae9dc93c9e995ef4c2b09b4c (patch) | |
tree | 560ee982cbba41f582c0bd63e2a01daf886de102 /sys/arch/mac68k | |
parent | 0c4fc0f746ba65b64e5fa4e3249e53ee9559bdc8 (diff) |
When calibrating the delay const, only allow clock and above interrupts.
This fixes infrequent hangs on reboot due to the ethernet interface interrupting
on machines configured to use A/UX style interrupts.
Diffstat (limited to 'sys/arch/mac68k')
-rw-r--r-- | sys/arch/mac68k/mac68k/clock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mac68k/mac68k/clock.c b/sys/arch/mac68k/mac68k/clock.c index da5ef6d770c..af50ea6faf2 100644 --- a/sys/arch/mac68k/mac68k/clock.c +++ b/sys/arch/mac68k/mac68k/clock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: clock.c,v 1.23 2006/09/26 06:11:42 miod Exp $ */ +/* $OpenBSD: clock.c,v 1.24 2007/07/14 19:06:48 miod Exp $ */ /* $NetBSD: clock.c,v 1.39 1999/11/05 19:14:56 scottr Exp $ */ /* @@ -366,7 +366,7 @@ mac68k_calibrate_delay() printf("mac68k_calibrate_delay(): entering timing loop\n"); #endif - (void)spl0(); + (void)_spl(IPLTOPSL(mac68k_machine.via1_ipl) - 1); for (sum = 0, n = 8; n > 0; n--) { delay_flag = 1; |