summaryrefslogtreecommitdiffstats
path: root/perl-install/cpufreq.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-02-18 14:25:45 +0000
committerOlivier Blin <oblin@mandriva.com>2008-02-18 14:25:45 +0000
commitdb371bd62394223511ea683f5ec86ae35249f759 (patch)
tree310a4f50b1478591636f4d234e6eeb27f7657fc8 /perl-install/cpufreq.pm
parentf654fd418de49a3d422988942944298cbc43a64a (diff)
downloaddrakx-db371bd62394223511ea683f5ec86ae35249f759.tar
drakx-db371bd62394223511ea683f5ec86ae35249f759.tar.gz
drakx-db371bd62394223511ea683f5ec86ae35249f759.tar.bz2
drakx-db371bd62394223511ea683f5ec86ae35249f759.tar.xz
drakx-db371bd62394223511ea683f5ec86ae35249f759.zip
use acpi_cpufreq for Mobile PIII/Celeron (for example Toshiba Portégé 3500)
Diffstat (limited to 'perl-install/cpufreq.pm')
-rw-r--r--perl-install/cpufreq.pm7
1 files changed, 5 insertions, 2 deletions
diff --git a/perl-install/cpufreq.pm b/perl-install/cpufreq.pm
index 663d0ff04..5b7dc72a7 100644
--- a/perl-install/cpufreq.pm
+++ b/perl-install/cpufreq.pm
@@ -41,9 +41,12 @@ sub find_pci_device {
sub probe_acpi_cpufreq() {
any {
get_vendor($_) eq "Intel" &&
- has_flag($_, 'est') &&
$_->{'cpu family'} == 6 &&
- member($_->{model}, 13, 15);
+ (
+ has_flag($_, 'est') && member($_->{model}, 13, 15)
+ ||
+ $_->{'model'} == 11
+ );
} get_cpus();
}