From 079328a5470a9bc04aed7138298a88af39776785 Mon Sep 17 00:00:00 2001 From: sborrill Date: Fri, 2 Mar 2012 16:29:31 +0000 Subject: [PATCH] Print CPU stepping level --- usr.sbin/cpuctl/arch/i386.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/usr.sbin/cpuctl/arch/i386.c b/usr.sbin/cpuctl/arch/i386.c index a2f25a6bbf80..9fe80083f7ee 100644 --- a/usr.sbin/cpuctl/arch/i386.c +++ b/usr.sbin/cpuctl/arch/i386.c @@ -1,4 +1,4 @@ -/* $NetBSD: i386.c,v 1.28 2012/02/29 23:34:01 joerg Exp $ */ +/* $NetBSD: i386.c,v 1.29 2012/03/02 16:29:31 sborrill Exp $ */ /*- * Copyright (c) 1999, 2000, 2001, 2006, 2007, 2008 The NetBSD Foundation, Inc. @@ -57,7 +57,7 @@ #include #ifndef lint -__RCSID("$NetBSD: i386.c,v 1.28 2012/02/29 23:34:01 joerg Exp $"); +__RCSID("$NetBSD: i386.c,v 1.29 2012/03/02 16:29:31 sborrill Exp $"); #endif /* not lint */ #include @@ -1517,9 +1517,10 @@ identifycpu(const char *cpuname) #endif aprint_normal_dev(ci->ci_dev, "family %02x model %02x " - "extfamily %02x extmodel %02x\n", CPUID2FAMILY(ci->ci_signature), - CPUID2MODEL(ci->ci_signature), CPUID2EXTFAMILY(ci->ci_signature), - CPUID2EXTMODEL(ci->ci_signature)); + "extfamily %02x extmodel %02x stepping %02x\n", + CPUID2FAMILY(ci->ci_signature), CPUID2MODEL(ci->ci_signature), + CPUID2EXTFAMILY(ci->ci_signature), CPUID2EXTMODEL(ci->ci_signature), + CPUID2STEPPING(ci->ci_signature)); } static const char *