Shorten est message, use aprint_debug

This commit is contained in:
jmcneill 2009-02-17 12:27:13 +00:00
parent d63fa13cb6
commit 1592daaedc

View File

@ -1,4 +1,4 @@
/* $NetBSD: est.c,v 1.9 2008/04/28 20:23:40 martin Exp $ */
/* $NetBSD: est.c,v 1.10 2009/02/17 12:27:13 jmcneill Exp $ */
/*
* Copyright (c) 2003 Michael Eriksson.
* All rights reserved.
@ -81,7 +81,7 @@
/* #define EST_DEBUG */
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: est.c,v 1.9 2008/04/28 20:23:40 martin Exp $");
__KERNEL_RCSID(0, "$NetBSD: est.c,v 1.10 2009/02/17 12:27:13 jmcneill Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -1246,10 +1246,8 @@ est_init_main(int vendor)
i < est_fqlist->n - 1 ? " " : "");
}
aprint_normal("%s: %s (%d mV) ", cpuname, est_desc, mv);
aprint_normal("%d MHz\n", MSR2MHZ(msr, bus_clock));
aprint_normal("%s: %s frequencies available (MHz): %s\n",
cpuname, est_desc, freq_names);
aprint_debug("%s: %s (%d mV) ", cpuname, est_desc, mv);
aprint_debug("%d (MHz): %s\n", MSR2MHZ(msr, bus_clock), freq_names);
/*
* Setup the sysctl sub-tree machdep.est.*