Module Name: src
Committed By: jmcneill
Date: Sun Aug 23 15:42:51 UTC 2009
Modified Files:
src/sys/arch/x86/pci: pcib.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.9 -r1.10 src/sys/arch/x86/pci/pcib.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/pcib.c
diff -u src/sys/arch/x86/pci/pcib.c:1.9 src/sys/arch/x86/pci/pcib.c:1.10
--- src/sys/arch/x86/pci/pcib.c:1.9 Tue Aug 18 17:15:10 2009
+++ src/sys/arch/x86/pci/pcib.c Sun Aug 23 15:42:51 2009
@@ -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;