summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k/dev/mc.c
diff options
context:
space:
mode:
authorSteve Murphree <smurph@cvs.openbsd.org>2000-01-06 03:21:45 +0000
committerSteve Murphree <smurph@cvs.openbsd.org>2000-01-06 03:21:45 +0000
commit05427f7693924705096cbb84ffb757417d35f141 (patch)
tree6bd150139cec0d1d7336e8e6fbadb576ea50a08d /sys/arch/mvme68k/dev/mc.c
parentb349c2901026285386ff85dff9f4cae23fa52900 (diff)
Added support for MVME177 (mc68060)
Diffstat (limited to 'sys/arch/mvme68k/dev/mc.c')
-rw-r--r--sys/arch/mvme68k/dev/mc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mvme68k/dev/mc.c b/sys/arch/mvme68k/dev/mc.c
index 384b32e1d0b..d5ca0024c18 100644
--- a/sys/arch/mvme68k/dev/mc.c
+++ b/sys/arch/mvme68k/dev/mc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mc.c,v 1.5 1996/11/23 21:45:59 kstailey Exp $ */
+/* $OpenBSD: mc.c,v 1.6 2000/01/06 03:21:42 smurph Exp $ */
/*
* Copyright (c) 1995 Theo de Raadt
@@ -84,7 +84,7 @@ mcmatch(parent, vcf, args)
struct confargs *ca = args;
struct mcreg *mc = (struct mcreg *)(IIOV(ca->ca_paddr) + MC_MCCHIP_OFF);
- if (cputyp != CPU_162 || badvaddr(mc, 1) ||
+ if ((cputyp != CPU_172 && cputyp != CPU_162) || badvaddr(mc, 1) ||
mc->mc_chipid != MC_CHIPID)
return (0);
return (1);