Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Modify the attach message for consistency with m...



details:   https://anonhg.NetBSD.org/src/rev/4e72182157ac
branches:  trunk
changeset: 772529:4e72182157ac
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Sat Jan 07 15:59:46 2012 +0000

description:
Modify the attach message for consistency with most other pci devices.

diffstat:

 sys/dev/pci/piixpm.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 53cd6a2ff441 -r 4e72182157ac sys/dev/pci/piixpm.c
--- a/sys/dev/pci/piixpm.c      Sat Jan 07 15:19:35 2012 +0000
+++ b/sys/dev/pci/piixpm.c      Sat Jan 07 15:59:46 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: piixpm.c,v 1.37 2011/10/03 22:33:02 jmcneill Exp $ */
+/* $NetBSD: piixpm.c,v 1.38 2012/01/07 15:59:46 pgoyette Exp $ */
 /*     $OpenBSD: piixpm.c,v 1.20 2006/02/27 08:25:02 grange Exp $      */
 
 /*
@@ -22,7 +22,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: piixpm.c,v 1.37 2011/10/03 22:33:02 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: piixpm.c,v 1.38 2012/01/07 15:59:46 pgoyette Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -167,10 +167,9 @@
        sc->sc_pcitag = pa->pa_tag;
 
        aprint_naive("\n");
-       aprint_normal("\n");
 
        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));
 
        if (!pmf_device_register(self, piixpm_suspend, piixpm_resume))



Home | Main Index | Thread Index | Old Index