Add support for Intel cpu model's 5 & 6.

Approved by:	jkoshy
This commit is contained in:
ps 2006-04-04 02:36:04 +00:00
parent 33b6f0c5ea
commit 5d986f2c0f

View File

@ -91,7 +91,7 @@ pmc_intel_initialize(void)
#if defined(__i386__) || defined(__amd64__)
case 0xF00: /* P4 */
model = ((cpu_id & 0xF0000) >> 12) | ((cpu_id & 0xF0) >> 4);
if (model >= 0 && model <= 4) /* known models */
if (model >= 0 && model <= 6) /* known models */
cputype = PMC_CPU_INTEL_PIV;
break;
}