When identifying the CPU, print the scaled factor resulting from

calibration of the delay() loop.
This commit is contained in:
scottr 1997-09-03 06:28:55 +00:00
parent c0f620b961
commit f30496c3f2
1 changed files with 4 additions and 2 deletions

View File

@ -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));