Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/vax/vax Fix cpu type printout error.
details: https://anonhg.NetBSD.org/src/rev/c82ccbdbd061
branches: trunk
changeset: 360704:c82ccbdbd061
user: ragge <ragge%NetBSD.org@localhost>
date: Sun Mar 25 08:13:20 2018 +0000
description:
Fix cpu type printout error.
diffstat:
sys/arch/vax/vax/ka780.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 65adac78f23e -r c82ccbdbd061 sys/arch/vax/vax/ka780.c
--- a/sys/arch/vax/vax/ka780.c Sun Mar 25 04:04:36 2018 +0000
+++ b/sys/arch/vax/vax/ka780.c Sun Mar 25 08:13:20 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ka780.c,v 1.32 2016/07/07 06:55:39 msaitoh Exp $ */
+/* $NetBSD: ka780.c,v 1.33 2018/03/25 08:13:20 ragge Exp $ */
/*-
* Copyright (c) 1982, 1986, 1988 The Regents of the University of California.
* All rights reserved.
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ka780.c,v 1.32 2016/07/07 06:55:39 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ka780.c,v 1.33 2018/03/25 08:13:20 ragge Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -365,8 +365,8 @@
struct ka78x * const ka78 = (void *)&vax_cpudata;
aprint_normal(": KA%s, S/N %d(%d), hardware ECO level %d(%d)\n",
- cpu_getmodel() + 8, ka78->snr, ka78->plant, ka78->eco >> 4, ka78->eco);
- aprint_normal_dev(self, "4KB L1 cachen");
+ cpu_getmodel() + 7, ka78->snr, ka78->plant, ka78->eco >> 4, ka78->eco);
+ aprint_normal_dev(self, "4KB L1 cache");
if (mfpr(PR_ACCS) & 255) {
aprint_normal(", FPA present\n");
mtpr(0x8000, PR_ACCS);
Home |
Main Index |
Thread Index |
Old Index