Minor cosmetic tweaks for cpu attach messages

This commit is contained in:
martin 2013-03-26 20:52:29 +00:00
parent 7925e35738
commit f1a3f8c095
3 changed files with 9 additions and 9 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ka730.c,v 1.4 2012/10/29 12:55:41 chs Exp $ */ /* $NetBSD: ka730.c,v 1.5 2013/03/26 20:52:29 martin Exp $ */
/* /*
* Copyright (c) 1982, 1986, 1988 The Regents of the University of California. * Copyright (c) 1982, 1986, 1988 The Regents of the University of California.
* All rights reserved. * All rights reserved.
@ -68,7 +68,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ka730.c,v 1.4 2012/10/29 12:55:41 chs Exp $"); __KERNEL_RCSID(0, "$NetBSD: ka730.c,v 1.5 2013/03/26 20:52:29 martin Exp $");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
@ -117,7 +117,7 @@ ka730_conf(void)
void void
ka730_attach_cpu(device_t self) ka730_attach_cpu(device_t self)
{ {
aprint_normal("KA730, ucode rev %d\n", V730UCODE(vax_cpudata)); aprint_normal(": KA730, ucode rev %d\n", V730UCODE(vax_cpudata));
} }
static void ka730_memenable(device_t, device_t, void *); static void ka730_memenable(device_t, device_t, void *);

View File

@ -1,4 +1,4 @@
/* $NetBSD: ka750.c,v 1.44 2010/12/14 23:44:49 matt Exp $ */ /* $NetBSD: ka750.c,v 1.45 2013/03/26 20:52:29 martin Exp $ */
/* /*
* Copyright (c) 1982, 1986, 1988 The Regents of the University of California. * Copyright (c) 1982, 1986, 1988 The Regents of the University of California.
* All rights reserved. * All rights reserved.
@ -68,7 +68,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ka750.c,v 1.44 2010/12/14 23:44:49 matt Exp $"); __KERNEL_RCSID(0, "$NetBSD: ka750.c,v 1.45 2013/03/26 20:52:29 martin Exp $");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
@ -123,7 +123,7 @@ ka750_conf(void)
void void
ka750_attach_cpu(device_t self) ka750_attach_cpu(device_t self)
{ {
aprint_normal("KA750, 4KB L1 cache, hardware/ucode rev %d/%d, ", aprint_normal(": KA750, 4KB L1 cache, hardware/ucode rev %d/%d, ",
V750HARDW(vax_cpudata), V750UCODE(vax_cpudata)); V750HARDW(vax_cpudata), V750UCODE(vax_cpudata));
if (mfpr(PR_ACCS) & 255) { if (mfpr(PR_ACCS) & 255) {
aprint_normal("FPA present\n"); aprint_normal("FPA present\n");

View File

@ -1,4 +1,4 @@
/* $NetBSD: ka780.c,v 1.29 2010/12/14 23:44:49 matt Exp $ */ /* $NetBSD: ka780.c,v 1.30 2013/03/26 20:52:30 martin Exp $ */
/*- /*-
* Copyright (c) 1982, 1986, 1988 The Regents of the University of California. * Copyright (c) 1982, 1986, 1988 The Regents of the University of California.
* All rights reserved. * All rights reserved.
@ -35,7 +35,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ka780.c,v 1.29 2010/12/14 23:44:49 matt Exp $"); __KERNEL_RCSID(0, "$NetBSD: ka780.c,v 1.30 2013/03/26 20:52:30 martin Exp $");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
@ -364,7 +364,7 @@ ka780_attach_cpu(device_t self)
{ {
struct ka78x * const ka78 = (void *)&vax_cpudata; struct ka78x * const ka78 = (void *)&vax_cpudata;
aprint_normal("KA%s, serial number %d(%d), hardware ECO level %d(%d)\n", aprint_normal(": KA%s, S/N %d(%d), hardware ECO level %d(%d)\n",
&cpu_model[8], ka78->snr, ka78->plant, ka78->eco >> 4, ka78->eco); &cpu_model[8], ka78->snr, ka78->plant, ka78->eco >> 4, ka78->eco);
aprint_normal_dev(self, "4KB L1 cachen"); aprint_normal_dev(self, "4KB L1 cachen");
if (mfpr(PR_ACCS) & 255) { if (mfpr(PR_ACCS) & 255) {