From 4e780c2f889f307ada701ca4518d734ca4c9996e Mon Sep 17 00:00:00 2001 From: ad Date: Sat, 1 Dec 2007 16:45:35 +0000 Subject: [PATCH] Shh --- sys/arch/x86/x86/mpbios.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/sys/arch/x86/x86/mpbios.c b/sys/arch/x86/x86/mpbios.c index 50d4f41de8bc..0d44799d9e52 100644 --- a/sys/arch/x86/x86/mpbios.c +++ b/sys/arch/x86/x86/mpbios.c @@ -1,4 +1,4 @@ -/* $NetBSD: mpbios.c,v 1.39 2007/10/17 19:58:17 garbled Exp $ */ +/* $NetBSD: mpbios.c,v 1.40 2007/12/01 16:45:35 ad Exp $ */ /*- * Copyright (c) 2000 The NetBSD Foundation, Inc. @@ -103,7 +103,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: mpbios.c,v 1.39 2007/10/17 19:58:17 garbled Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mpbios.c,v 1.40 2007/12/01 16:45:35 ad Exp $"); #include "acpi.h" #include "lapic.h" @@ -958,7 +958,8 @@ mpbios_bus(const uint8_t *ent, struct device *self) const struct mpbios_bus *entry = (const struct mpbios_bus *)ent; int bus_id = entry->bus_id; - printf("mpbios: bus %d is type %6.6s\n", bus_id, entry->bus_type); + aprint_verbose("mpbios: bus %d is type %6.6s\n", bus_id, + entry->bus_type); #ifdef DIAGNOSTIC /* @@ -989,7 +990,7 @@ mpbios_bus(const uint8_t *ent, struct device *self) inb(ELCR0) | (inb(ELCR1) << 8); if (mp_eisa_bus != -1) - printf("oops: multiple isa busses?\n"); + aprint_error("oops: multiple isa busses?\n"); else mp_eisa_bus = bus_id; #endif @@ -1004,7 +1005,7 @@ mpbios_bus(const uint8_t *ent, struct device *self) else mp_isa_bus = bus_id; } else { - printf("%s: unsupported bus type %6.6s\n", self->dv_xname, + aprint_error("%s: unsupported bus type %6.6s\n", self->dv_xname, entry->bus_type); } }