diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-01-07 16:54:47 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-01-07 16:54:47 +0000 |
commit | 51edd210cfec73b7a7f90ee1b2237199e7dca132 (patch) | |
tree | bad7efb1fde7a92fa0cf7f5629e93ed68f68e7b6 /sys | |
parent | 7b888b1a9d4fa36695b9fd6773ee8411d39689b7 (diff) |
Print out mask set revision.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sparc64/sparc64/cpu.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/sparc64/sparc64/cpu.c b/sys/arch/sparc64/sparc64/cpu.c index 3fc243c0c96..8902ac6d917 100644 --- a/sys/arch/sparc64/sparc64/cpu.c +++ b/sys/arch/sparc64/sparc64/cpu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.c,v 1.16 2006/12/29 00:14:28 kettenis Exp $ */ +/* $OpenBSD: cpu.c,v 1.17 2007/01/07 16:54:46 kettenis Exp $ */ /* $NetBSD: cpu.c,v 1.13 2001/05/26 21:27:15 chs Exp $ */ /* @@ -174,9 +174,9 @@ cpu_attach(parent, dev, aux) cpu_clockrate[0] = clk; /* Tell OS what frequency we run on */ cpu_clockrate[1] = clk/1000000; } - snprintf(cpu_model, sizeof cpu_model, "%s @ %s MHz, %s FPU", - getpropstring(node, "name"), - clockfreq(clk), fpuname); + snprintf(cpu_model, sizeof cpu_model, + "%s (rev %d.%d) @ %s MHz, %s FPU", getpropstring(node, "name"), + vers >> 4, vers & 0xf, clockfreq(clk), fpuname); printf(": %s\n", cpu_model); cacheinfo.c_physical = 1; /* Dunno... */ |