diff options
author | kstailey <kstailey@cvs.openbsd.org> | 1996-12-31 06:14:11 +0000 |
---|---|---|
committer | kstailey <kstailey@cvs.openbsd.org> | 1996-12-31 06:14:11 +0000 |
commit | 731dcc4ac5dc6e92728060d9d58de2ad3234f18d (patch) | |
tree | e848198d84c64e9b24167ab794b8148d0a5468b8 /sys/arch/sun3/dev/memerr.c | |
parent | 02549a9a7b34cbcbba7cc0ed4e08839b0bb496a8 (diff) |
sync with 17-Dec-1996
Diffstat (limited to 'sys/arch/sun3/dev/memerr.c')
-rw-r--r-- | sys/arch/sun3/dev/memerr.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/arch/sun3/dev/memerr.c b/sys/arch/sun3/dev/memerr.c index 0aafc273181..d5e8f4a1b61 100644 --- a/sys/arch/sun3/dev/memerr.c +++ b/sys/arch/sun3/dev/memerr.c @@ -1,4 +1,4 @@ -/* $NetBSD: memerr.c,v 1.6 1996/11/13 07:05:14 thorpej Exp $ */ +/* $NetBSD: memerr.c,v 1.7 1996/12/17 21:10:50 gwr Exp $ */ /* * Copyright (c) 1992, 1993 @@ -49,7 +49,9 @@ #include <sys/device.h> #include <machine/autoconf.h> +#include <machine/control.h> #include <machine/cpu.h> +#include <machine/idprom.h> #include <machine/obio.h> #include <machine/pte.h> @@ -71,7 +73,7 @@ struct memerr_softc { /* XXX: counters? */ }; -static int memerr_match __P((struct device *, void *vcf, void *args)); +static int memerr_match __P((struct device *, void *, void *)); static void memerr_attach __P((struct device *, struct device *, void *)); static int memerr_interrupt __P((void *)); static void memerr_correctable __P((struct memerr_softc *)); @@ -90,7 +92,7 @@ memerr_match(parent, vcf, args) struct device *parent; void *vcf, *args; { - struct cfdata *cf = vcf; + struct cfdata *cf = vcf; struct confargs *ca = args; /* This driver only supports one unit. */ @@ -170,7 +172,7 @@ memerr_interrupt(arg) { struct memerr_softc *sc = arg; volatile struct memerr *me = sc->sc_reg; - u_char csr, ctx, err; + u_char csr, ctx; u_int pa, va; int pte; |