beautify dmesg with MPVERBOSE.

before:

pci0 at hypervisor0 bus 0: configuration mode 1hypervisor0: added to list as bus 0

pchb0 at pci0 dev 0 function 0

now:

pci0 at hypervisor0 bus 0: configuration mode 1
hypervisor0: added to list as bus 0
pchb0 at pci0 dev 0 function 0
This commit is contained in:
cegger 2008-07-21 11:51:59 +00:00
parent 8d54263568
commit 30e1bad82e
2 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: mpacpi.c,v 1.66 2008/07/03 14:02:25 drochner Exp $ */
/* $NetBSD: mpacpi.c,v 1.67 2008/07/21 11:51:59 cegger Exp $ */
/*
* Copyright (c) 2003 Wasabi Systems, Inc.
@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mpacpi.c,v 1.66 2008/07/03 14:02:25 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: mpacpi.c,v 1.67 2008/07/21 11:51:59 cegger Exp $");
#include "acpi.h"
#include "opt_acpi.h"
@ -1145,7 +1145,7 @@ mpacpi_pci_attach_hook(struct device *parent, struct device *self,
mpb->mb_pci_chipset_tag = pba->pba_pc;
if (mp_verbose)
printf("%s: added to list as bus %d\n", device_xname(parent),
printf("\n%s: added to list as bus %d\n", device_xname(parent),
pba->pba_bus);

View File

@ -1,4 +1,4 @@
/* $NetBSD: mpbios.c,v 1.45 2008/07/03 15:44:19 drochner Exp $ */
/* $NetBSD: mpbios.c,v 1.46 2008/07/21 11:51:59 cegger Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@ -96,7 +96,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mpbios.c,v 1.45 2008/07/03 15:44:19 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: mpbios.c,v 1.46 2008/07/21 11:51:59 cegger Exp $");
#include "acpi.h"
#include "lapic.h"
@ -1190,7 +1190,7 @@ mpbios_pci_attach_hook(struct device *parent, struct device *self,
mpb->mb_name = "pci";
if (mp_verbose)
printf("%s: added to list as bus %d\n", device_xname(parent),
printf("\n%s: added to list as bus %d\n", device_xname(parent),
pba->pba_bus);
mpb->mb_configured = 1;