From 05427f7693924705096cbb84ffb757417d35f141 Mon Sep 17 00:00:00 2001 From: Steve Murphree Date: Thu, 6 Jan 2000 03:21:45 +0000 Subject: Added support for MVME177 (mc68060) --- sys/arch/mvme68k/dev/mc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/mvme68k/dev/mc.c') 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); -- cgit v1.2.3