Module Name: src Committed By: rin Date: Fri Mar 5 07:11:24 UTC 2021
Modified Files: src/sys/arch/powerpc/ibm4xx: cpu.c Log Message: Show PVR as 8-digit hex. To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/sys/arch/powerpc/ibm4xx/cpu.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/powerpc/ibm4xx/cpu.c diff -u src/sys/arch/powerpc/ibm4xx/cpu.c:1.35 src/sys/arch/powerpc/ibm4xx/cpu.c:1.36 --- src/sys/arch/powerpc/ibm4xx/cpu.c:1.35 Fri Mar 5 07:10:27 2021 +++ src/sys/arch/powerpc/ibm4xx/cpu.c Fri Mar 5 07:11:24 2021 @@ -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 @@ cpuattach(device_t parent, device_t self 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);