summaryrefslogtreecommitdiffstats
path: root/perl-install/cpufreq.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-03-10 17:53:05 +0000
committerOlivier Blin <oblin@mandriva.com>2008-03-10 17:53:05 +0000
commitaa2f3a78b1ec53d3e8f78bb286bcbc64d73e0f04 (patch)
tree5ee4f3fda5de36f8d2e4152e0b4d3f80741a99f9 /perl-install/cpufreq.pm
parentb0542cb5ebf684e83820d9028788e7c1c7db9657 (diff)
downloaddrakx-aa2f3a78b1ec53d3e8f78bb286bcbc64d73e0f04.tar
drakx-aa2f3a78b1ec53d3e8f78bb286bcbc64d73e0f04.tar.gz
drakx-aa2f3a78b1ec53d3e8f78bb286bcbc64d73e0f04.tar.bz2
drakx-aa2f3a78b1ec53d3e8f78bb286bcbc64d73e0f04.tar.xz
drakx-aa2f3a78b1ec53d3e8f78bb286bcbc64d73e0f04.zip
cpufreq: fix gsx-suspmod probe
Diffstat (limited to 'perl-install/cpufreq.pm')
-rw-r--r--perl-install/cpufreq.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/cpufreq.pm b/perl-install/cpufreq.pm
index d202031ab..5468e45ae 100644
--- a/perl-install/cpufreq.pm
+++ b/perl-install/cpufreq.pm
@@ -70,7 +70,7 @@ sub probe_smi() { find_pci_device([ 0x8086, 0x7190 ]) }
sub probe_nforce2() { find_pci_device([ 0x10de, 0x01e0 ]) }
sub probe_gsx() {
- any { member(get_vendor($_), "Cyrix", "NSC") } get_cpus() &&
+ (any { member(get_vendor($_), "Cyrix", "NSC") } get_cpus()) &&
find_pci_device([ 0x1078, 0x0100 ], [ 0x1078, 0x0002 ], [ 0x1078, 0x0000 ]);
}