2002-11-11 15:32:53

by Dominik Brodowski

[permalink] [raw]
Subject: [2.5. PATCH] cpufreq: VIA longhaul v.1 update

Updates for better support of VIA longhaul v.1. which is found on
Samuel/CyrixIII, Samuel2/C3 processors. (Dave Jones)

Dominik

--- linux-2545original/arch/i386/kernel/cpu/cpufreq/longhaul.c Thu Oct 31 12:00:00 2002
+++ linux/arch/i386/kernel/cpu/cpufreq/longhaul.c Thu Oct 31 23:50:00 2002
@@ -1,5 +1,5 @@
/*
- * $Id: longhaul.c,v 1.72 2002/09/29 23:43:10 db Exp $
+ * $Id: longhaul.c,v 1.77 2002/10/31 21:17:40 db Exp $
*
* (C) 2001 Dave Jones. <[email protected]>
* (C) 2002 Padraig Brady. <[email protected]>
@@ -436,8 +436,10 @@
switch (longhaul) {
case 1:
/* Ugh, Longhaul v1 didn't have the min/max MSRs.
- Assume max = whatever we booted at. */
+ Assume min=3.0x & max = whatever we booted at. */
+ minmult = 30;
maxmult = longhaul_get_cpu_mult();
+ minfsb = maxfsb = current_fsb;
break;

case 2 ... 3: