Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/dev merge the ebus@pci attach output to be ...



details:   https://anonhg.NetBSD.org/src/rev/80100be2d7e2
branches:  trunk
changeset: 358819:80100be2d7e2
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Jan 18 00:31:22 2018 +0000

description:
merge the ebus@pci attach output to be like most PCI drivers:

ebus0 at pci1 dev 1 function 0
ebus0: Sun Microsystems PCIO Ebus2, revision 0x01

becomes:

ebus0 at pci1 dev 1 function 0: Sun Microsystems PCIO Ebus2, revision 0x01

diffstat:

 sys/arch/sparc64/dev/ebus.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r ef0cce89bfe5 -r 80100be2d7e2 sys/arch/sparc64/dev/ebus.c
--- a/sys/arch/sparc64/dev/ebus.c       Wed Jan 17 20:30:16 2018 +0000
+++ b/sys/arch/sparc64/dev/ebus.c       Thu Jan 18 00:31:22 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ebus.c,v 1.62 2014/10/18 08:33:27 snj Exp $    */
+/*     $NetBSD: ebus.c,v 1.63 2018/01/18 00:31:22 mrg Exp $    */
 
 /*
  * Copyright (c) 1999, 2000, 2001 Matthew R. Green
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ebus.c,v 1.62 2014/10/18 08:33:27 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ebus.c,v 1.63 2018/01/18 00:31:22 mrg Exp $");
 
 #include "opt_ddb.h"
 
@@ -148,11 +148,10 @@
 
        sc->sc_dev = self;
 
-       aprint_normal("\n");
        aprint_naive("\n");
 
        pci_devinfo(pa->pa_id, pa->pa_class, 0, devinfo, sizeof(devinfo));
-       aprint_normal_dev(self, "%s, revision 0x%02x\n", devinfo,
+       aprint_normal(": %s, revision 0x%02x\n", devinfo,
            PCI_REVISION(pa->pa_class));
 
        sc->sc_memtag = pa->pa_memt;



Home | Main Index | Thread Index | Old Index