diff options
Diffstat (limited to 'sys/arch/mvme68k/dev/memc.c')
-rw-r--r-- | sys/arch/mvme68k/dev/memc.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/arch/mvme68k/dev/memc.c b/sys/arch/mvme68k/dev/memc.c index f4435780c3c..3a57dfb797b 100644 --- a/sys/arch/mvme68k/dev/memc.c +++ b/sys/arch/mvme68k/dev/memc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: memc.c,v 1.6 2002/03/14 01:26:37 millert Exp $ */ +/* $OpenBSD: memc.c,v 1.7 2002/04/27 23:21:05 miod Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -79,11 +79,10 @@ memcmatch(parent, vcf, args) struct device *parent; void *vcf, *args; { - struct cfdata *cf = vcf; struct confargs *ca = args; struct memcreg *memc = (struct memcreg *)ca->ca_vaddr; - if (badvaddr(memc, 1)) + if (badvaddr((vaddr_t)memc, 1)) return (0); if (memc->memc_chipid==MEMC_CHIPID || memc->memc_chipid==MCECC_CHIPID) return (1); @@ -110,7 +109,6 @@ memcattach(parent, self, args) #if 0 sc->sc_ih.ih_fn = memcintr; - sc->sc_ih.ih_arg = 0; sc->sc_ih.ih_ipl = 7; sc->sc_ih.ih_wantframe = 1; mcintr_establish(xxx, &sc->sc_ih); |