diff options
Diffstat (limited to 'sys/arch/mvme88k/dev/if_ve.c')
-rw-r--r-- | sys/arch/mvme88k/dev/if_ve.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/arch/mvme88k/dev/if_ve.c b/sys/arch/mvme88k/dev/if_ve.c index a90e89fcbcf..c8735e9e03e 100644 --- a/sys/arch/mvme88k/dev/if_ve.c +++ b/sys/arch/mvme88k/dev/if_ve.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ve.c,v 1.12 2001/12/13 08:55:51 smurph Exp $ */ +/* $OpenBSD: if_ve.c,v 1.13 2001/12/16 23:49:46 miod Exp $ */ /*- * Copyright (c) 1999 Steve Murphree, Jr. * Copyright (c) 1982, 1992, 1993 @@ -71,7 +71,7 @@ #include <machine/autoconf.h> #include <machine/cpu.h> #include <machine/bugio.h> -#include <machine/cmmu.h> /* DMA_CACHE_SYNC, etc... */ +#include <machine/mmu.h> /* DMA_CACHE_SYNC, etc... */ #include <mvme88k/dev/if_vereg.h> #include <mvme88k/dev/if_vevar.h> @@ -247,9 +247,11 @@ vematch(parent, vcf, args) { struct confargs *ca = args; - if (badvaddr((unsigned)ca->ca_vaddr, 1)) + if (!badvaddr((unsigned)ca->ca_vaddr, 1)) { + return (1); + } else { return (0); - return (1); + } } /* |