summaryrefslogtreecommitdiffstats
path: root/perl-install/cpufreq.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-02-18 16:48:26 +0000
committerOlivier Blin <oblin@mandriva.com>2008-02-18 16:48:26 +0000
commit893f5acea45234960ef423f933b33b88d6cd4de7 (patch)
tree320f33661910768470b43f58995632198c30e80e /perl-install/cpufreq.pm
parentc930927135f6d75f72f211cc5f2ad969f6e50317 (diff)
downloaddrakx-893f5acea45234960ef423f933b33b88d6cd4de7.tar
drakx-893f5acea45234960ef423f933b33b88d6cd4de7.tar.gz
drakx-893f5acea45234960ef423f933b33b88d6cd4de7.tar.bz2
drakx-893f5acea45234960ef423f933b33b88d6cd4de7.tar.xz
drakx-893f5acea45234960ef423f933b33b88d6cd4de7.zip
use p4-clockmod for some Intel family 6 processors not supporting EST (Enhanced SpeedStep), models selected from p4-clockmod source code
Diffstat (limited to 'perl-install/cpufreq.pm')
-rw-r--r--perl-install/cpufreq.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/cpufreq.pm b/perl-install/cpufreq.pm
index 50a994e06..d202031ab 100644
--- a/perl-install/cpufreq.pm
+++ b/perl-install/cpufreq.pm
@@ -85,8 +85,10 @@ sub probe_powerpc() {
sub probe_p4() {
any {
- get_vendor($_) eq "Intel" &&
- $_->{'cpu family'} == 15;
+ get_vendor($_) eq "Intel" && (
+ $_->{'cpu family'} == 15 ||
+ ($_->{'cpu family'} == 6 && !has_flag($_, 'est') && member($_->{model}, 9, 13, 14, 15))
+ );
} get_cpus();
}