Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys Quiet down autoconfiguration by changing some printf() c...
details: https://anonhg.NetBSD.org/src/rev/9a7a75970949
branches: trunk
changeset: 782138:9a7a75970949
user: dyoung <dyoung%NetBSD.org@localhost>
date: Wed Oct 17 21:35:38 2012 +0000
description:
Quiet down autoconfiguration by changing some printf() calls to
aprint_normal() calls.
diffstat:
sys/arch/x86/x86/mpbios.c | 14 +++++++-------
sys/dev/gpio/gpio.c | 6 +++---
2 files changed, 10 insertions(+), 10 deletions(-)
diffs (80 lines):
diff -r 99e3c50b1f23 -r 9a7a75970949 sys/arch/x86/x86/mpbios.c
--- a/sys/arch/x86/x86/mpbios.c Wed Oct 17 20:45:49 2012 +0000
+++ b/sys/arch/x86/x86/mpbios.c Wed Oct 17 21:35:38 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mpbios.c,v 1.58 2010/08/04 10:02:12 jruoho Exp $ */
+/* $NetBSD: mpbios.c,v 1.59 2012/10/17 21:35:38 dyoung Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -96,7 +96,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mpbios.c,v 1.58 2010/08/04 10:02:12 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mpbios.c,v 1.59 2012/10/17 21:35:38 dyoung Exp $");
#include "acpica.h"
#include "lapic.h"
@@ -221,7 +221,7 @@
if (pnp)
aprint_normal("cpu at %s", pnp);
- printf(" apid %d", caa->cpu_number);
+ aprint_normal(" apid %d", caa->cpu_number);
return (UNCONF);
}
@@ -232,7 +232,7 @@
if (pnp)
aprint_normal("ioapic at %s", pnp);
- printf(" apid %d", aaa->apic_id);
+ aprint_normal(" apid %d", aaa->apic_id);
return (UNCONF);
}
@@ -506,13 +506,13 @@
switch (mp_fps->spec_rev) {
case 1:
- printf("(Version 1.1)");
+ aprint_normal("(Version 1.1)");
break;
case 4:
- printf("(Version 1.4)");
+ aprint_normal("(Version 1.4)");
break;
default:
- printf("(unrecognized rev %d)", mp_fps->spec_rev);
+ aprint_normal("(unrecognized rev %d)", mp_fps->spec_rev);
}
/*
diff -r 99e3c50b1f23 -r 9a7a75970949 sys/dev/gpio/gpio.c
--- a/sys/dev/gpio/gpio.c Wed Oct 17 20:45:49 2012 +0000
+++ b/sys/dev/gpio/gpio.c Wed Oct 17 21:35:38 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gpio.c,v 1.50 2011/11/25 13:49:43 mbalmer Exp $ */
+/* $NetBSD: gpio.c,v 1.51 2012/10/17 21:35:39 dyoung Exp $ */
/* $OpenBSD: gpio.c,v 1.6 2006/01/14 12:33:49 grange Exp $ */
/*
@@ -19,7 +19,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gpio.c,v 1.50 2011/11/25 13:49:43 mbalmer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gpio.c,v 1.51 2012/10/17 21:35:39 dyoung Exp $");
/*
* General Purpose Input/Output framework.
@@ -198,7 +198,7 @@
sc->sc_pins = gba->gba_pins;
sc->sc_npins = gba->gba_npins;
- printf(": %d pins\n", sc->sc_npins);
+ aprint_normal(": %d pins\n", sc->sc_npins);
if (!pmf_device_register(self, NULL, gpio_resume))
aprint_error_dev(self, "couldn't establish power handler\n");
Home |
Main Index |
Thread Index |
Old Index