diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-04-19 19:41:27 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-04-19 19:41:27 +0000 |
commit | dc0eb867705a1c4785b8108ac893066d3cd2046f (patch) | |
tree | 3dad324d24c979f6fab5c749aacfd66cd3fd658a /sys/arch/mvme88k/dev/syscon.c | |
parent | f44631f6bc3da796269b8e15c9df671cbfb7daab (diff) |
Better diagnostic messages in the MVME188 interrupt handler; also no need
to register an interrupt handler for the SYSCON board interrupts anymore,
as we never trigger it.
Diffstat (limited to 'sys/arch/mvme88k/dev/syscon.c')
-rw-r--r-- | sys/arch/mvme88k/dev/syscon.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/arch/mvme88k/dev/syscon.c b/sys/arch/mvme88k/dev/syscon.c index 0d1111f5889..65a5c15497f 100644 --- a/sys/arch/mvme88k/dev/syscon.c +++ b/sys/arch/mvme88k/dev/syscon.c @@ -1,4 +1,4 @@ -/* $OpenBSD: syscon.c,v 1.25 2006/04/17 18:27:30 miod Exp $ */ +/* $OpenBSD: syscon.c,v 1.26 2006/04/19 19:41:24 miod Exp $ */ /* * Copyright (c) 1999 Steve Murphree, Jr. * All rights reserved. @@ -47,7 +47,9 @@ struct sysconsoftc { struct intrhand sc_abih; /* `abort' switch */ struct intrhand sc_acih; /* `ac fail' */ struct intrhand sc_sfih; /* `sys fail' */ +#if 0 struct intrhand sc_m188ih; /* `m188 interrupt' */ +#endif }; void sysconattach(struct device *, struct device *, void *); @@ -152,15 +154,19 @@ sysconattach(parent, self, args) sc->sc_sfih.ih_wantframe = 1; sc->sc_sfih.ih_ipl = IPL_ABORT; +#if 0 sc->sc_m188ih.ih_fn = sysconm188; sc->sc_m188ih.ih_arg = 0; sc->sc_m188ih.ih_wantframe = 1; sc->sc_m188ih.ih_ipl = IPL_ABORT; +#endif sysconintr_establish(SYSCV_ABRT, &sc->sc_abih, "abort"); sysconintr_establish(SYSCV_ACF, &sc->sc_acih, "acfail"); sysconintr_establish(SYSCV_SYSF, &sc->sc_sfih, "sysfail"); +#if 0 intr_establish(M188_IVEC, &sc->sc_m188ih, self->dv_xname); +#endif config_search(syscon_scan, self, args); } @@ -203,6 +209,7 @@ sysconacfail(eframe) return (1); } +#if 0 int sysconm188(eframe) void *eframe; @@ -211,3 +218,4 @@ sysconm188(eframe) printf("MVME188: self-inflicted interrupt\n"); return (1); } +#endif |