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/e72cfe1bc289
branches:  trunk
changeset: 746917:e72cfe1bc289
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Aug 23 15:37: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/pchb.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r 38507c98ab7b -r e72cfe1bc289 sys/arch/x86/pci/pchb.c
--- a/sys/arch/x86/pci/pchb.c   Sun Aug 23 15:37:39 2009 +0000
+++ b/sys/arch/x86/pci/pchb.c   Sun Aug 23 15:37:51 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pchb.c,v 1.18 2009/04/07 17:52:36 dyoung Exp $ */
+/*     $NetBSD: pchb.c,v 1.19 2009/08/23 15:37:51 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 1996, 1998, 2000 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pchb.c,v 1.18 2009/04/07 17:52:36 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pchb.c,v 1.19 2009/08/23 15:37:51 jmcneill Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -162,7 +162,6 @@
        int doattach, attachflags, has_agp;
 
        aprint_naive("\n");
-       aprint_normal("\n");
 
        doattach = 0;
        has_agp = 0;
@@ -176,7 +175,7 @@
         */
 
        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));
 
        switch (PCI_VENDOR(pa->pa_id)) {



Home | Main Index | Thread Index | Old Index