Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x86/pci Save a line of dmesg by printing the vendor...



details:   https://anonhg.NetBSD.org/src/rev/f246c213e2ec
branches:  trunk
changeset: 746919:f246c213e2ec
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Aug 23 15:42:51 2009 +0000

description:
Save a line of dmesg by printing the vendor/product info on the same line
as the locators.

diffstat:

 sys/arch/x86/pci/pcib.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r 50dd196de981 -r f246c213e2ec sys/arch/x86/pci/pcib.c
--- a/sys/arch/x86/pci/pcib.c   Sun Aug 23 15:41:28 2009 +0000
+++ b/sys/arch/x86/pci/pcib.c   Sun Aug 23 15:42:51 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pcib.c,v 1.9 2009/08/18 17:15:10 dyoung Exp $  */
+/*     $NetBSD: pcib.c,v 1.10 2009/08/23 15:42:51 jmcneill Exp $       */
 
 /*-
  * Copyright (c) 1996, 1998 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pcib.c,v 1.9 2009/08/18 17:15:10 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pcib.c,v 1.10 2009/08/23 15:42:51 jmcneill Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -188,14 +188,13 @@
        char devinfo[256];
 
        aprint_naive("\n");
-       aprint_normal("\n");
 
        /*
         * Just print out a description and defer configuration
         * until all PCI devices have been attached.
         */
        pci_devinfo(pa->pa_id, pa->pa_class, 0, devinfo, sizeof(devinfo));
-       aprint_normal_dev(self, "%s (rev. 0x%02x)\n", devinfo,
+       aprint_normal(": %s (rev. 0x%02x)\n", devinfo,
            PCI_REVISION(pa->pa_class));
 
        sc->sc_pc = pa->pa_pc;



Home | Main Index | Thread Index | Old Index