Skip to contentSkip to conversation

cpufreq patch,1.1.1.6,1.1.1.7

PATCH Ducrot Bruno 1 participant 1 message Sep 4, 2003

lore
Share & tools
lore
#0 lore raw

Update of /mnt/src/cvsroot/cpufreq
In directory flint:/tmp/cvs-serv22046

Modified Files:

      Tag: LINUX_2_4
	patch 

Log Message:
- *ouch* I forgot the int15 call..

Index: patch
===================================================================
RCS file: /mnt/src/cvsroot/cpufreq/patch,v
retrieving revision 1.1.1.6
retrieving revision 1.1.1.7

patch +22 -0
diff -u -r1.1.1.6 -r1.1.1.7
@@ -221,6 +221,28 @@
  tristate 'Toshiba Laptop support' CONFIG_TOSHIBA
  tristate 'Dell laptop support' CONFIG_I8K
  
+--- linux-original/arch/i386/boot/setup.S	Sat Aug  3 02:39:42 2002
++++ linux/arch/i386/boot/setup.S	Thu Sep  4 18:15:18 2003
+@@ -483,6 +483,19 @@
+ 	movw	$0xAA, (0x1ff)			# device present
+ no_psmouse:
+ 
++#if defined(CONFIG_X86_SPEEDSTEP_SMI) || defined(CONFIG_X86_SPEEDSTEP_SMI_MODUL
++)
++	movl	$0x0000E980, %eax		# IST Support 
++	movl	$0x47534943, %edx		# Request value
++	int	$0x15
++
++	movl	%eax, (96)
++	movl	%ebx, (100)
++	movl	%ecx, (104)
++	movl	%edx, (108)
++#endif
++
++
+ #if defined(CONFIG_APM) || defined(CONFIG_APM_MODULE)
+ # Then check for an APM BIOS...
+ 						# %ds points to the bootsector
 --- linux-original/arch/i386/kernel/Makefile	Mon Aug 25 13:44:39 2003
 +++ linux/arch/i386/kernel/Makefile	Thu Sep  4 12:14:03 2003
 @@ -14,7 +14,8 @@