Subject: Re: patch: make dmesg more pretty
To: Christoph Egger <Christoph_Egger@gmx.de>
From: Matt Fleming <mjf@netbsd.org>
List: port-xen
Date: 07/23/2007 12:03:51
--/04w6evG8XlLl3ft
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Can you please try the attached patch? You'l have to revert your changes
before applying it.

--mjf

--/04w6evG8XlLl3ft
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="hypervisor.patch"

Index: sys/arch/x86/x86/mpacpi.c
===================================================================
RCS file: /cvsroot/src/sys/arch/x86/x86/mpacpi.c,v
retrieving revision 1.48
diff -u -r1.48 mpacpi.c
--- sys/arch/x86/x86/mpacpi.c	10 Apr 2007 12:15:27 -0000	1.48
+++ sys/arch/x86/x86/mpacpi.c	23 Jul 2007 11:04:24 -0000
@@ -1076,7 +1076,7 @@
 	mpb->mb_pci_chipset_tag = pba->pba_pc;
 
 	if (mp_verbose)
-		printf("%s: added to list as bus %d\n", parent->dv_xname,
+		printf("%s: added to list as bus %d", parent->dv_xname,
 		    pba->pba_bus);
 
 
Index: sys/arch/x86/x86/mpbios.c
===================================================================
RCS file: /cvsroot/src/sys/arch/x86/x86/mpbios.c,v
retrieving revision 1.36
diff -u -r1.36 mpbios.c
--- sys/arch/x86/x86/mpbios.c	28 Apr 2007 14:51:58 -0000	1.36
+++ sys/arch/x86/x86/mpbios.c	23 Jul 2007 11:04:25 -0000
@@ -1191,7 +1191,7 @@
 		mpb->mb_name = "pci";
 
 	if (mp_verbose)
-		printf("%s: added to list as bus %d\n", parent->dv_xname,
+		printf("%s: added to list as bus %d", parent->dv_xname,
 		    pba->pba_bus);
 
 	mpb->mb_configured = 1;
Index: sys/arch/xen/xen/hypervisor.c
===================================================================
RCS file: /cvsroot/src/sys/arch/xen/xen/hypervisor.c,v
retrieving revision 1.31
diff -u -r1.31 hypervisor.c
--- sys/arch/xen/xen/hypervisor.c	6 Mar 2007 12:35:39 -0000	1.31
+++ sys/arch/xen/xen/hypervisor.c	23 Jul 2007 11:04:24 -0000
@@ -306,6 +306,7 @@
 	else
 #endif
 #if defined(MPBIOS) && defined(MPBIOS_SCANPCI)
+	aprint_normal("\n");
 	if (mpbios_scanned != 0)
 		mpbios_scan_pci(self, &hac.hac_pba, pcibusprint);
 	else

--/04w6evG8XlLl3ft--