summaryrefslogtreecommitdiffstats
path: root/perl-install/cpufreq.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-02-18 14:16:51 +0000
committerOlivier Blin <oblin@mandriva.com>2008-02-18 14:16:51 +0000
commitf654fd418de49a3d422988942944298cbc43a64a (patch)
tree7b0a791c2ea526c74efbdb1cd3af8276b822a576 /perl-install/cpufreq.pm
parente8d6f43f2aef5c0f5d4dc7951a50eb39527822b8 (diff)
downloaddrakx-f654fd418de49a3d422988942944298cbc43a64a.tar
drakx-f654fd418de49a3d422988942944298cbc43a64a.tar.gz
drakx-f654fd418de49a3d422988942944298cbc43a64a.tar.bz2
drakx-f654fd418de49a3d422988942944298cbc43a64a.tar.xz
drakx-f654fd418de49a3d422988942944298cbc43a64a.zip
use acpi-cpufreq for Intel family 6 model 13 (Centrino Dothan)
Diffstat (limited to 'perl-install/cpufreq.pm')
-rw-r--r--perl-install/cpufreq.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/cpufreq.pm b/perl-install/cpufreq.pm
index 8fa9b5a17..663d0ff04 100644
--- a/perl-install/cpufreq.pm
+++ b/perl-install/cpufreq.pm
@@ -43,7 +43,7 @@ sub probe_acpi_cpufreq() {
get_vendor($_) eq "Intel" &&
has_flag($_, 'est') &&
$_->{'cpu family'} == 6 &&
- $_->{model} == 15;
+ member($_->{model}, 13, 15);
} get_cpus();
}
@@ -51,7 +51,7 @@ sub probe_centrino() {
any {
get_vendor($_) eq "Intel" &&
has_flag($_, 'est') && (
- $_->{'cpu family'} == 6 && member($_->{model}, 9, 13, 14) ||
+ $_->{'cpu family'} == 6 && member($_->{model}, 9, 14) ||
$_->{'cpu family'} == 15 && member($_->{model}, 3, 4)
);
} get_cpus();