Save a line of dmesg by printing the vendor/product info on the same line trunk
authorjmcneill <jmcneill@NetBSD.org>
Sun, 23 Aug 2009 15:37:51 +0000
branchtrunk
changeset 183250 5487dddce832
parent 183249 78c83cd954b6
child 183251 c20f73cab58d
Save a line of dmesg by printing the vendor/product info on the same line as the locators.
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)) {