summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-09-28 16:20:50 +0000
committerOlivier Blin <oblin@mandriva.com>2007-09-28 16:20:50 +0000
commitfd941f534c4bf78e7956fab96f5378ed3908a360 (patch)
treed481db65b28a4abc4c0d9f1d5d415393bda765c3
parentf4e805e54111417027605523f3ab420895aa7f80 (diff)
downloaddrakx-fd941f534c4bf78e7956fab96f5378ed3908a360.tar
drakx-fd941f534c4bf78e7956fab96f5378ed3908a360.tar.gz
drakx-fd941f534c4bf78e7956fab96f5378ed3908a360.tar.bz2
drakx-fd941f534c4bf78e7956fab96f5378ed3908a360.tar.xz
drakx-fd941f534c4bf78e7956fab96f5378ed3908a360.zip
add acpi-cpufreq support for some Intel CPUs (family 6 model 15) (from Herton Ronaldo Krzesinski, #30208)
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/cpufreq.pm10
-rw-r--r--perl-install/install/NEWS3
3 files changed, 15 insertions, 0 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 609281344..02f5b4b60 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,5 +1,7 @@
- add back ipw3945 module in wireless modules list
- allow to detect VirtualBox guest systems
+- add acpi-cpufreq support for some Intel CPUs (family 6 model 15)
+ (from Herton Ronaldo Krzesinski, #30208)
Version 10.4.217 - 27 September 2007, by Thierry Vignaud
diff --git a/perl-install/cpufreq.pm b/perl-install/cpufreq.pm
index 34862c015..8fa9b5a17 100644
--- a/perl-install/cpufreq.pm
+++ b/perl-install/cpufreq.pm
@@ -38,6 +38,15 @@ sub find_pci_device {
any { my $dev = $_; any { $_->{vendor} == $dev->[0] && $_->{id} == $dev->[1] } pci_probe() } @devices;
}
+sub probe_acpi_cpufreq() {
+ any {
+ get_vendor($_) eq "Intel" &&
+ has_flag($_, 'est') &&
+ $_->{'cpu family'} == 6 &&
+ $_->{model} == 15;
+ } get_cpus();
+}
+
sub probe_centrino() {
any {
get_vendor($_) eq "Intel" &&
@@ -114,6 +123,7 @@ sub probe_longrun() {
}
my @modules = (
+ [ "acpi-cpufreq", \&probe_acpi_cpufreq ],
# probe centrino first, it will get detected on ICH chipset and
# speedstep-ich doesn't work with it
[ "speedstep-centrino", \&probe_centrino ],
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index ec7478cc7..a0b533f97 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,6 @@
+- add acpi-cpufreq support for some Intel CPUs (family 6 model 15)
+ (from Herton Ronaldo Krzesinski, #30208)
+
Version 10.4.220 - 28 September 2007, by Pascal "Pixel" Rigaux
- log_sizes: cleanup __db* files