diff options
-rw-r--r-- | sys/arch/aviion/dev/syscon.c | 3 | ||||
-rw-r--r-- | sys/arch/mvme88k/dev/syscon.c | 3 |
2 files changed, 4 insertions, 2 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; diff --git a/sys/arch/mvme88k/dev/syscon.c b/sys/arch/mvme88k/dev/syscon.c index 3c207998356..27ace053c6b 100644 --- a/sys/arch/mvme88k/dev/syscon.c +++ b/sys/arch/mvme88k/dev/syscon.c @@ -1,4 +1,4 @@ -/* $OpenBSD: syscon.c,v 1.30 2013/05/17 22:46:27 miod Exp $ */ +/* $OpenBSD: syscon.c,v 1.31 2013/09/26 19:02:07 miod Exp $ */ /* * Copyright (c) 1999 Steve Murphree, Jr. * All rights reserved. @@ -86,6 +86,7 @@ sysconattach(struct device *parent, struct device *self, void *args) * Clear SYSFAIL if lit. */ *(volatile u_int32_t *)MVME188_UCSR |= UCSR_DRVSFBIT; + *(volatile u_int32_t *)MVME188_CLRINT = ISTATE_SYSFAIL; sc->sc_abih.ih_fn = sysconabort; sc->sc_abih.ih_arg = 0; |