From f30496c3f2b4181d6326545513e4acc49c6e3d6d Mon Sep 17 00:00:00 2001 From: scottr Date: Wed, 3 Sep 1997 06:28:55 +0000 Subject: [PATCH] When identifying the CPU, print the scaled factor resulting from calibration of the delay() loop. --- sys/arch/mac68k/mac68k/machdep.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/arch/mac68k/mac68k/machdep.c b/sys/arch/mac68k/mac68k/machdep.c index a43c0c733758..7ecdc2302427 100644 --- a/sys/arch/mac68k/mac68k/machdep.c +++ b/sys/arch/mac68k/mac68k/machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.158 1997/08/14 18:23:20 scottr Exp $ */ +/* $NetBSD: machdep.c,v 1.159 1997/09/03 06:28:55 scottr Exp $ */ /* * Copyright (c) 1996 Jason R. Thorpe. All rights reserved. @@ -2026,7 +2026,8 @@ mach_cputype() static void identifycpu() { - char *mpu; + extern u_int delay_factor; + char *mpu; switch (cputype) { case CPU_68020: @@ -2047,6 +2048,7 @@ identifycpu() cpu_models[mac68k_machine.cpu_model_index].model_minor, mpu); printf("%s\n", cpu_model); + printf("cpu: delay factor %d\n", delay_factor); } static void get_machine_info __P((void));