From 6f71d88157a64be94e479ffd29b5737ab6795bec Mon Sep 17 00:00:00 2001 From: briggs Date: Sat, 15 Mar 1997 20:17:40 +0000 Subject: [PATCH] Specify SONIC for 040 powerbooks and for CLASSQ and CLASSQ2 machines. --- sys/arch/mac68k/mac68k/machdep.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys/arch/mac68k/mac68k/machdep.c b/sys/arch/mac68k/mac68k/machdep.c index bad68194d1f6..730df66e117a 100644 --- a/sys/arch/mac68k/mac68k/machdep.c +++ b/sys/arch/mac68k/mac68k/machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.135 1997/03/15 18:10:06 is Exp $ */ +/* $NetBSD: machdep.c,v 1.136 1997/03/15 20:17:40 briggs Exp $ */ /* * Copyright (c) 1996 Jason R. Thorpe. All rights reserved. @@ -2402,6 +2402,8 @@ setmachdep() via_reg(VIA1, vIER) = 0x6f; /* disable VIA1 int */ /* Are we disabling something important? */ via_reg(VIA2, vIER) = 0x7f; /* disable VIA2 int */ + if (cputype == CPU_68040) + mac68k_machine.sonic = 1; break; case MACH_CLASSDUO: /* @@ -2421,6 +2423,7 @@ setmachdep() break; case MACH_CLASSQ: case MACH_CLASSQ2: + mac68k_machine.sonic = 1; case MACH_CLASSAV: VIA2 = 1; IOBase = 0x50f00000;