From 1befe5497eec4d2dad9f90c420a88052e0468b29 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Fri, 30 Nov 2001 22:08:17 +0000 Subject: Make it possible for mmutype to contain MMU_68060 if the hardware is actually '060-based, instead to look at the machineid. This is simpler, and will be required to switch to pmap_motorola anyways. --- sys/arch/amiga/dev/bztzsc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/amiga/dev/bztzsc.c') diff --git a/sys/arch/amiga/dev/bztzsc.c b/sys/arch/amiga/dev/bztzsc.c index 2bfcd8ff52c..6420f03762d 100644 --- a/sys/arch/amiga/dev/bztzsc.c +++ b/sys/arch/amiga/dev/bztzsc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bztzsc.c,v 1.4 2001/11/06 01:47:02 art Exp $ */ +/* $OpenBSD: bztzsc.c,v 1.5 2001/11/30 22:08:16 miod Exp $ */ /* $NetBSD: bztzsc.c,v 1.2 1996/12/23 09:09:54 veego Exp $ */ /* @@ -344,7 +344,7 @@ do { chain[n].ptr = (p); chain[n].len = (l); chain[n++].flg = (f); } while(0) set_link(n, (vm_offset_t)p, l, SFAS_CHAIN_BUMP); else if ((p >= (void *)0xFF000000) #if defined(M68040) || defined(M68060) - && ((mmutype == MMU_68040) && (p >= (void *)0xFFFC0000)) + && ((mmutype <= MMU_68040) && (p >= (void *)0xFFFC0000)) #endif ) { while(l != 0) { -- cgit v1.2.3