Skip to contentSkip to conversation

cpufreq: VIA longhaul v.1 update

PATCH New Dominik Brodowski 1 participant 1 message Nov 11, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

arch/i386/kernel/cpu/cpufreq/longhaul.c +4 -2
@@ -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: