Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc/sparc cpu0 at mainbus0: mid 8: RT620/625 @ 12...
details: https://anonhg.NetBSD.org/src/rev/9be195b75ecf
branches: trunk
changeset: 328722:9be195b75ecf
user: macallan <macallan%NetBSD.org@localhost>
date: Tue Apr 15 10:39:44 2014 +0000
description:
cpu0 at mainbus0: mid 8: RT620/625 @ 125000 MHz, on-chip FPU
unfortunately that's too good to be true, so print frequency in MHz when we
say it's in MHz
diffstat:
sys/arch/sparc/sparc/cpu.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r a0acab2a4cb3 -r 9be195b75ecf sys/arch/sparc/sparc/cpu.c
--- a/sys/arch/sparc/sparc/cpu.c Tue Apr 15 10:24:54 2014 +0000
+++ b/sys/arch/sparc/sparc/cpu.c Tue Apr 15 10:39:44 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.243 2014/03/27 18:22:56 christos Exp $ */
+/* $NetBSD: cpu.c,v 1.244 2014/04/15 10:39:44 macallan Exp $ */
/*
* Copyright (c) 1996
@@ -52,7 +52,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.243 2014/03/27 18:22:56 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.244 2014/04/15 10:39:44 macallan Exp $");
#include "opt_multiprocessor.h"
#include "opt_lockdebug.h"
@@ -436,7 +436,7 @@
/* Stuff to only run on the boot CPU */
cpu_setup();
snprintf(buf, sizeof buf, "%s @ %s MHz, %s FPU",
- cpi->cpu_longname, clockfreq(cpi->hz), cpi->fpu_name);
+ cpi->cpu_longname, clockfreq(cpi->hz / 1000), cpi->fpu_name);
cpu_setmodel("%s (%s)", machine_model, buf);
printf(": %s\n", buf);
cache_print(sc);
Home |
Main Index |
Thread Index |
Old Index