This commit is contained in:
ad 2007-12-01 16:45:35 +00:00
parent 2d3a70d6e4
commit 4e780c2f88

View File

@ -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. * Copyright (c) 2000 The NetBSD Foundation, Inc.
@ -103,7 +103,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__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 "acpi.h"
#include "lapic.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; const struct mpbios_bus *entry = (const struct mpbios_bus *)ent;
int bus_id = entry->bus_id; 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 #ifdef DIAGNOSTIC
/* /*
@ -989,7 +990,7 @@ mpbios_bus(const uint8_t *ent, struct device *self)
inb(ELCR0) | (inb(ELCR1) << 8); inb(ELCR0) | (inb(ELCR1) << 8);
if (mp_eisa_bus != -1) if (mp_eisa_bus != -1)
printf("oops: multiple isa busses?\n"); aprint_error("oops: multiple isa busses?\n");
else else
mp_eisa_bus = bus_id; mp_eisa_bus = bus_id;
#endif #endif
@ -1004,7 +1005,7 @@ mpbios_bus(const uint8_t *ent, struct device *self)
else else
mp_isa_bus = bus_id; mp_isa_bus = bus_id;
} else { } 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); entry->bus_type);
} }
} }