Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: patch: make dmesg more pretty



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

--mjf
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


Home | Main Index | Thread Index | Old Index