]> git.neil.brown.name Git - history.git/commitdiff
[CPUFREQ] Fix misnaming of VIA Samuel2 CPUs.
authorDave Jones <davej@redhat.com>
Tue, 7 Oct 2003 18:48:06 +0000 (19:48 +0100)
committerDave Jones <davej@redhat.com>
Tue, 7 Oct 2003 18:48:06 +0000 (19:48 +0100)
670 -> 677 = Samuel 2
678 -> 67f = Ezra

arch/i386/kernel/cpu/cpufreq/longhaul.c

index 3e70b47185e017ae4e45f7f7c5ad98406ccf495c..9c9966c6efbc8b61537c9fe0e9f31698380b8fb0 100644 (file)
@@ -387,7 +387,10 @@ static int longhaul_cpu_init (struct cpufreq_policy *policy)
                        memcpy (eblcr_table, samuel2_eblcr, sizeof(samuel2_eblcr));
                        break;
                case 1 ... 15:
-                       cpuname = "C3 'Ezra' [C5C]";
+                       if (c->x86_mask < 8)
+                               cpuname = "C3 'Samuel 2' [C5B]";
+                       else
+                               cpuname = "C3 'Ezra' [C5C]";
                        longhaul_version=2;
                        memcpy (clock_ratio, ezra_clock_ratio, sizeof(ezra_clock_ratio));
                        memcpy (eblcr_table, ezra_eblcr, sizeof(ezra_eblcr));