Module Name: src
Committed By: ragge
Date: Sun Mar 25 08:13:20 UTC 2018
Modified Files:
src/sys/arch/vax/vax: ka780.c
Log Message:
Fix cpu type printout error.
To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/sys/arch/vax/vax/ka780.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/vax/vax/ka780.c
diff -u src/sys/arch/vax/vax/ka780.c:1.32 src/sys/arch/vax/vax/ka780.c:1.33
--- src/sys/arch/vax/vax/ka780.c:1.32 Thu Jul 7 06:55:39 2016
+++ src/sys/arch/vax/vax/ka780.c Sun Mar 25 08:13:20 2018
@@ -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 @@ ka780_attach_cpu(device_t self)
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);