summaryrefslogtreecommitdiffstats
path: root/perl-install/cpufreq.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-10-23 15:52:29 +0000
committerOlivier Blin <oblin@mandriva.com>2009-10-23 15:52:29 +0000
commit3ffb5bc2444c5278d1c551de9a81838ca24afbe4 (patch)
treefc86fb5ae7acebe38452d6cfdb40b7314a12dc2b /perl-install/cpufreq.pm
parent1d92fd37cad21f57ed1be01c9cd813f504894e96 (diff)
downloaddrakx-3ffb5bc2444c5278d1c551de9a81838ca24afbe4.tar
drakx-3ffb5bc2444c5278d1c551de9a81838ca24afbe4.tar.gz
drakx-3ffb5bc2444c5278d1c551de9a81838ca24afbe4.tar.bz2
drakx-3ffb5bc2444c5278d1c551de9a81838ca24afbe4.tar.xz
drakx-3ffb5bc2444c5278d1c551de9a81838ca24afbe4.zip
cpufreq: load e_powersaver for VIA C7 (#41377)
Diffstat (limited to 'perl-install/cpufreq.pm')
-rw-r--r--perl-install/cpufreq.pm10
1 files changed, 10 insertions, 0 deletions
diff --git a/perl-install/cpufreq.pm b/perl-install/cpufreq.pm
index 5468e45ae..54710fd05 100644
--- a/perl-install/cpufreq.pm
+++ b/perl-install/cpufreq.pm
@@ -123,6 +123,15 @@ sub probe_longhaul() {
} get_cpus();
}
+sub probe_e_powersaver() {
+ any {
+ get_vendor($_) eq "Centaur" &&
+ has_flag($_, 'est') &&
+ $_->{'cpu family'} == 6 &&
+ member($_->{model}, 10, 13);
+ } get_cpus();
+}
+
sub probe_longrun() {
any {
get_vendor($_) eq "Transmeta" &&
@@ -146,6 +155,7 @@ my @modules = (
[ "powernow-k7", \&probe_powernow_k7 ],
[ "powernow-k8", \&probe_powernow_k8 ],
[ "longhaul", \&probe_longhaul ],
+ [ "e_powersaver", \&probe_e_powersaver ],
[ "longrun", \&probe_longrun ],
);