Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/ibm4xx Show PVR as 8-digit hex.



details:   https://anonhg.NetBSD.org/src/rev/ed8cc156f14c
branches:  trunk
changeset: 953305:ed8cc156f14c
user:      rin <rin%NetBSD.org@localhost>
date:      Fri Mar 05 07:11:24 2021 +0000

description:
Show PVR as 8-digit hex.

diffstat:

 sys/arch/powerpc/ibm4xx/cpu.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 2de78f9dad38 -r ed8cc156f14c sys/arch/powerpc/ibm4xx/cpu.c
--- a/sys/arch/powerpc/ibm4xx/cpu.c     Fri Mar 05 07:10:27 2021 +0000
+++ b/sys/arch/powerpc/ibm4xx/cpu.c     Fri Mar 05 07:11:24 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.c,v 1.35 2021/03/05 07:10:27 rin Exp $     */
+/*     $NetBSD: cpu.c,v 1.36 2021/03/05 07:11:24 rin Exp $     */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.35 2021/03/05 07:10:27 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.36 2021/03/05 07:11:24 rin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -292,7 +292,7 @@
        if (__predict_false(cp->name == NULL))
                cpu_setmodel("Version 0x%x", pvr);
 
-       aprint_normal(": %uMHz %s (PVR 0x%x)\n",
+       aprint_normal(": %uMHz %s (PVR 0x%08x)\n",
            (processor_freq + 500000) / 1000000,
            (cp->name != NULL ? cpu_getmodel() : "unknown model"),
            pvr);



Home | Main Index | Thread Index | Old Index