Correctly ensure that the CPU family is 0x6, not non-zero.
Submitted by: Dimitry Andric
This commit is contained in:
parent
c2175767b7
commit
8bddaf9007
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=211821
@ -62,7 +62,8 @@ qpi_identify(driver_t *driver, device_t parent)
|
||||
{
|
||||
|
||||
/* Check CPUID to ensure this is an i7 CPU of some sort. */
|
||||
if (!(cpu_vendor_id == CPU_VENDOR_INTEL && CPUID_TO_FAMILY(cpu_id) &&
|
||||
if (!(cpu_vendor_id == CPU_VENDOR_INTEL &&
|
||||
CPUID_TO_FAMILY(cpu_id) == 0x6 &&
|
||||
(CPUID_TO_MODEL(cpu_id) == 0x1a || CPUID_TO_MODEL(cpu_id) == 0x2c)))
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user