Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Do not print ac97 link rate message unless verbo...
details: https://anonhg.NetBSD.org/src/rev/476e2f85daa1
branches: trunk
changeset: 751351:476e2f85daa1
user: njoly <njoly%NetBSD.org@localhost>
date: Mon Feb 01 12:51:16 2010 +0000
description:
Do not print ac97 link rate message unless verbose boot is requested.
diffstat:
sys/dev/pci/auich.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (34 lines):
diff -r df7a44e306d8 -r 476e2f85daa1 sys/dev/pci/auich.c
--- a/sys/dev/pci/auich.c Mon Feb 01 11:58:39 2010 +0000
+++ b/sys/dev/pci/auich.c Mon Feb 01 12:51:16 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: auich.c,v 1.135 2010/01/13 23:24:29 jakllsch Exp $ */
+/* $NetBSD: auich.c,v 1.136 2010/02/01 12:51:16 njoly Exp $ */
/*-
* Copyright (c) 2000, 2004, 2005 The NetBSD Foundation, Inc.
@@ -111,7 +111,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: auich.c,v 1.135 2010/01/13 23:24:29 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: auich.c,v 1.136 2010/02/01 12:51:16 njoly Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1686,11 +1686,11 @@
else
ac97rate = ((actual_48k_rate + 500) / 1000) * 1000;
- printf("%s: measured ac97 link rate at %d Hz",
- device_xname(sc->sc_dev), actual_48k_rate);
+ aprint_verbose_dev(sc->sc_dev, "measured ac97 link rate at %d Hz",
+ actual_48k_rate);
if (ac97rate != actual_48k_rate)
- printf(", will use %d Hz", ac97rate);
- printf("\n");
+ aprint_verbose(", will use %d Hz", ac97rate);
+ aprint_verbose("\n");
sc->sc_ac97_clock = ac97rate;
}
Home |
Main Index |
Thread Index |
Old Index