lkml.org 
[lkml]   [2000]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
SubjectRe: 2.2.18pre and Duron detection

> 2.2.18pre12 detects Duron 600 almost fine (even reports 64K cache) but
> fails to identify some cpu flags (6, 14, 17). /proc/cpuinfo output:
>
>flags : fpu vme de pse tsc msr 6 mce cx8 sep mtrr pge 14 cmov pat 17
> psn mmxext mmx fxsr 3dnowext 3dnow

Try the patch below, this brings things up to date with 2.4

regards,

Dave.

--
| Dave Jones <davej@suse.de> http://www.suse.de/~davej
| SuSE Labs

--- setup.c~ Fri Oct 6 18:13:35 2000
+++ setup.c Fri Oct 6 18:19:13 2000
@@ -1142,10 +1142,10 @@
char *p = buffer;
int sep_bug;
static char *x86_cap_flags[] = {
- "fpu", "vme", "de", "pse", "tsc", "msr", "6", "mce",
- "cx8", "9", "10", "sep", "mtrr", "pge", "14", "cmov",
- "16", "17", "psn", "19", "20", "21", "22", "mmx",
- "24", "kni", "26", "27", "28", "29", "30", "31"
+ "fpu", "vme", "de", "pse", "tsc", "msr", "pae", "mce",
+ "cx8", "apic", "10", "sep", "mtrr", "pge", "mca", "cmov",
+ "16", "pse36", "psn", "19", "20", "21", "22", "mmx",
+ "24", "xmm", "26", "27", "28", "29", "30", "31"
};
struct cpuinfo_x86 *c = cpu_data;
int i, n;
@@ -1200,17 +1200,11 @@
break;

case X86_VENDOR_INTEL:
- x86_cap_flags[6] = "pae";
- x86_cap_flags[9] = "apic";
- x86_cap_flags[14] = "mca";
x86_cap_flags[16] = "pat";
- x86_cap_flags[17] = "pse36";
- x86_cap_flags[18] = "psn";
x86_cap_flags[19] = "cflush";
x86_cap_flags[21] = "dtrace";
x86_cap_flags[22] = "acpi";
x86_cap_flags[24] = "fxsr";
- x86_cap_flags[25] = "xmm";
x86_cap_flags[26] = "xmm2";
x86_cap_flags[27] = "ssnp";
x86_cap_flags[29] = "acc";
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:39    [W:0.023 / U:4.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site