summaryrefslogtreecommitdiff
path: root/dmidecode.c
diff options
context:
space:
mode:
authorkhali <khali>2008-11-09 11:02:44 +0000
committerkhali <khali>2008-11-09 11:02:44 +0000
commit321c2d56a2ec18f47b11cdf46bef038366bb1579 (patch)
treecda45702a86ed468fb899e12eb53f87b48d94234 /dmidecode.c
parentc9c695f999f8298d0ce37b8525cdae774c6e7678 (diff)
downloaddmidecode-321c2d56a2ec18f47b11cdf46bef038366bb1579.tar.gz
More CPUID exceptions based on the version string (DMI type 4).
Diffstat (limited to 'dmidecode.c')
-rw-r--r--dmidecode.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/dmidecode.c b/dmidecode.c
index 5979f07..d09afbe 100644
--- a/dmidecode.c
+++ b/dmidecode.c
@@ -914,7 +914,10 @@ static void dmi_processor_id(u8 type, const u8 *p, const char *version, const ch
* we use the version string to determine if they are known to
* support the CPUID instruction.
*/
- if (strncmp(version, "Pentium III MMX", 15) == 0)
+ if (strncmp(version, "Pentium III MMX", 15) == 0
+ || strncmp(version, "Intel(R) Core(TM)2", 18) == 0
+ || strncmp(version, "Intel(R) Pentium(R)", 19) == 0
+ || strcmp(version, "Genuine Intel(R) CPU U1400") == 0)
sig = 1;
else if (strncmp(version, "AMD Athlon(TM)", 14) == 0
|| strncmp(version, "AMD Opteron(tm)", 15) == 0)