Skip to contentSkip to conversation

cpufreq/linux/include/linux cpufreq.h,1.44,1.45

PATCH Ducrot Bruno 1 participant 1 message Sep 3, 2003

lore
Share & tools
lore
#0 lore raw

Update of /mnt/src/cvsroot/cpufreq/linux/include/linux In directory flint:/tmp/cvs-serv21659/linux/include/linux

Modified Files:
cpufreq.h
Log Message:
* add speedstep-smi driver (Hiroshi Miura)
* clean up speedstep-smi driver (Dominik Brodowski)
- fixes a couple of warnings
- to run as a module, we need to export ist_info. Also, only show the IST_INFO line in dmesg if speedstep_smi is enabled.
- Use a new ->resume callback in the cpufreq core.
- let's call this driver "speedstep-smi" in cpufreq_driver also
- if the smi_get_freqs call fails, fall back to the "let's try it out and see what frequency we are at" mechanism. Needed on my notebook (at least).
* update driver/cpufreq/cpufreq.c

Index: cpufreq.h
===================================================================
RCS file: /mnt/src/cvsroot/cpufreq/linux/include/linux/cpufreq.h,v retrieving revision 1.44
retrieving revision 1.45

cpufreq.h +1 -0
diff -u -r1.44 -r1.45
@@ -176,6 +176,7 @@
 
 	/* optional */
 	int	(*exit)		(struct cpufreq_policy *policy);
+	int	(*resume)	(struct cpufreq_policy *policy);
 	struct freq_attr	**attr;
 };