> 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 <[EMAIL PROTECTED]>  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 [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to