summaryrefslogtreecommitdiff
path: root/sys/arch/amiga/dev/bztzsc.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2001-11-30 22:08:17 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2001-11-30 22:08:17 +0000
commit1befe5497eec4d2dad9f90c420a88052e0468b29 (patch)
tree5273928a91dc465f1e6df13cc196fa8527f4bc70 /sys/arch/amiga/dev/bztzsc.c
parentb30abbca68a99ccb0a7b9f79245f6321e8e6892f (diff)
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.
Diffstat (limited to 'sys/arch/amiga/dev/bztzsc.c')
-rw-r--r--sys/arch/amiga/dev/bztzsc.c4
1 files changed, 2 insertions, 2 deletions
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) {