Print CPU stepping level

This commit is contained in:
sborrill 2012-03-02 16:29:31 +00:00
parent 445b1d5899
commit 079328a547
1 changed files with 6 additions and 5 deletions

View File

@ -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 <sys/cdefs.h>
#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 <sys/types.h>
@ -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 *