summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJoshua Stein <jcs@cvs.openbsd.org>2017-08-11 21:18:12 +0000
committerJoshua Stein <jcs@cvs.openbsd.org>2017-08-11 21:18:12 +0000
commita1f6ab45791659fc845c8e63532d4f64e0d75c1d (patch)
tree186da6539fe8fd51f261051577b6e696046fd516 /sys
parentc6f08ca7c77fa7a57c78f88a37c3369624a41d85 (diff)
don't bother checking diagnostic status (which patrick reports
actually hangs a particular machine) to avoid reporting an error which is common on modern machines ok deraadt, patrick
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/amd64/isa/clock.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/arch/amd64/isa/clock.c b/sys/arch/amd64/isa/clock.c
index 749d0bcb443..5c22ebeb6fa 100644
--- a/sys/arch/amd64/isa/clock.c
+++ b/sys/arch/amd64/isa/clock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clock.c,v 1.24 2017/01/25 08:23:50 tom Exp $ */
+/* $OpenBSD: clock.c,v 1.25 2017/08/11 21:18:11 jcs Exp $ */
/* $NetBSD: clock.c,v 1.1 2003/04/26 18:39:50 fvdl Exp $ */
/*-
@@ -157,16 +157,10 @@ u_long rtclock_tval;
void
startclocks(void)
{
- int s;
-
mtx_enter(&timer_mutex);
rtclock_tval = TIMER_DIV(hz);
i8254_startclock();
mtx_leave(&timer_mutex);
-
- /* Check diagnostic status */
- if ((s = mc146818_read(NULL, NVRAM_DIAG)) != 0) /* XXX softc */
- printf("RTC BIOS diagnostic error %b\n", s, NVRAM_DIAG_BITS);
}
int