summaryrefslogtreecommitdiff
path: root/sys/arch/aviion
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2013-09-26 19:02:08 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2013-09-26 19:02:08 +0000
commit8bdc41d78b80a6f5dfce4cf53b64da7c39c7e52d (patch)
tree58a9c5bd1ae20cfdd2f8089eda9454abd1ab11a3 /sys/arch/aviion
parent4e8b7fa20e34a91e848f370d38c64569a5c61af4 (diff)
Clear SYSFAIL upon boot, for real.
Diffstat (limited to 'sys/arch/aviion')
-rw-r--r--sys/arch/aviion/dev/syscon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/aviion/dev/syscon.c b/sys/arch/aviion/dev/syscon.c
index 87b38f084f4..1e5ffe76bfa 100644
--- a/sys/arch/aviion/dev/syscon.c
+++ b/sys/arch/aviion/dev/syscon.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: syscon.c,v 1.7 2013/09/16 16:30:51 miod Exp $ */
+/* $OpenBSD: syscon.c,v 1.8 2013/09/26 19:02:06 miod Exp $ */
/*
* Copyright (c) 2007 Miodrag Vallat.
*
@@ -102,6 +102,7 @@ sysconattach(struct device *parent, struct device *self, void *args)
* Clear SYSFAIL if lit.
*/
*(volatile u_int32_t *)AV_UCSR |= UCSR_DRVSFBIT;
+ *(volatile u_int32_t *)AV_CLRINT = ISTATE_SYSFAIL;
sc->sc_abih.ih_fn = sysconabort;
sc->sc_abih.ih_arg = 0;