Module Name: src Committed By: mrg Date: Thu Jan 18 00:31:22 UTC 2018
Modified Files: src/sys/arch/sparc64/dev: ebus.c Log Message: 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 To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63 src/sys/arch/sparc64/dev/ebus.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/sparc64/dev/ebus.c diff -u src/sys/arch/sparc64/dev/ebus.c:1.62 src/sys/arch/sparc64/dev/ebus.c:1.63 --- src/sys/arch/sparc64/dev/ebus.c:1.62 Sat Oct 18 08:33:27 2014 +++ src/sys/arch/sparc64/dev/ebus.c Thu Jan 18 00:31:22 2018 @@ -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 @@ ebus_attach(device_t parent, device_t se 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;