Module Name: src
Committed By: jmcneill
Date: Sun Aug 23 15:37:51 UTC 2009
Modified Files:
src/sys/arch/x86/pci: pchb.c
Log Message:
Save a line of dmesg by printing the vendor/product info on the same line
as the locators.
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/x86/pci/pchb.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/x86/pci/pchb.c
diff -u src/sys/arch/x86/pci/pchb.c:1.18 src/sys/arch/x86/pci/pchb.c:1.19
--- src/sys/arch/x86/pci/pchb.c:1.18 Tue Apr 7 17:52:36 2009
+++ src/sys/arch/x86/pci/pchb.c Sun Aug 23 15:37:51 2009
@@ -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)) {