summaryrefslogtreecommitdiffstats
path: root/perl-install/Makefile
Commit message (Expand)AuthorAgeFilesLines
...
* no_commentPascal Rigaux1999-11-051-1/+1
* no_commentPascal Rigaux1999-11-051-0/+1
* no_commentPascal Rigaux1999-11-031-0/+2
* no_commentPascal Rigaux1999-11-021-5/+2
* no_commentPascal Rigaux1999-10-291-5/+7
* no_commentPascal Rigaux1999-10-281-9/+8
* no_commentPascal Rigaux1999-10-251-1/+1
* *** empty log message ***Pascal Rigaux1999-10-211-1/+1
* no_commentPascal Rigaux1999-10-201-1/+1
* no_commentPascal Rigaux1999-10-181-4/+3
* no_commentPascal Rigaux1999-10-101-1/+1
* no_commentPascal Rigaux1999-10-101-26/+15
* no_commentPascal Rigaux1999-10-081-1/+1
* *** empty log message ***Francois Pons1999-10-061-0/+2
* no_commentPascal Rigaux1999-09-291-1/+1
* no_commentPascal Rigaux1999-09-291-1/+4
* no_commentPascal Rigaux1999-09-271-3/+5
* no_commentPascal Rigaux1999-09-231-1/+5
* no_commentPascal Rigaux1999-09-181-0/+1
* no_commentPascal Rigaux1999-09-161-1/+1
* no_commentPascal Rigaux1999-09-151-1/+2
* no_commentPascal Rigaux1999-09-141-1/+1
* *** empty log message ***Francois Pons1999-09-141-1/+1
* no_commentPascal Rigaux1999-09-131-2/+2
* no_commentPascal Rigaux1999-09-101-2/+2
* no_commentPascal Rigaux1999-09-101-14/+19
* no_commentPascal Rigaux1999-09-091-1/+1
* no_commentPascal Rigaux1999-09-091-2/+5
* no_commentPascal Rigaux1999-09-081-2/+2
* no_commentPascal Rigaux1999-09-071-2/+2
* no_commentPascal Rigaux1999-09-041-2/+4
* no_commentPascal Rigaux1999-09-041-1/+1
* complete on the spooldir fieldpad1999-09-041-18/+19
* no_commentPascal Rigaux1999-09-031-1/+1
* no_commentPascal Rigaux1999-09-031-1/+1
* no_commentPascal Rigaux1999-08-311-2/+7
* no_commentPascal Rigaux1999-08-291-0/+1
* no_commentPascal Rigaux1999-08-281-0/+1
* no_commentPascal Rigaux1999-08-271-1/+1
* no_commentPascal Rigaux1999-08-271-0/+9
* no_commentPascal Rigaux1999-08-241-1/+1
* no_commentPascal Rigaux1999-08-231-0/+3
* no_commentPascal Rigaux1999-08-231-2/+2
* no_commentPascal Rigaux1999-08-231-24/+23
* no_commentPascal Rigaux1999-08-121-5/+11
* no_commentPascal Rigaux1999-08-121-1/+1
* no_commentPascal Rigaux1999-08-121-3/+3
* *** empty log message ***Pascal Rigaux1999-08-091-3/+15
* no_commentPascal Rigaux1999-07-301-5/+6
* no_commentPascal Rigaux1999-07-291-2/+3
>$_->{'cpu family'} == 6 && !has_flag($_, 'est') && member($_->{model}, 9, 13, 14, 15)) ); } get_cpus(); } sub probe_powernow_k6() { any { get_vendor($_) eq "AMD" && $_->{'cpu family'} == 5 && member($_->{model}, 12, 13); } get_cpus(); } sub probe_powernow_k7() { any { get_vendor($_) eq "AMD" && $_->{'cpu family'} == 6; } get_cpus(); } sub probe_powernow_k8() { any { get_vendor($_) eq "AMD" && $_->{'cpu family'} == 15 && ($_->{'power management'} =~ /\bfid\b/ || has_flag($_, 'fid')); # frequency ID control } get_cpus(); } sub probe_longhaul() { any { get_vendor($_) eq "Centaur" && $_->{'cpu family'} == 6 && member($_->{model}, 6, 7, 8, 9); } get_cpus(); } sub probe_longrun() { any { get_vendor($_) eq "Transmeta" && has_flag($_, 'longrun'); } get_cpus(); } my @modules = ( # probe centrino first, it will get detected on ICH chipset and # speedstep-ich doesn't work with it [ "speedstep-centrino", \&probe_centrino ], [ "acpi-cpufreq", \&probe_acpi_cpufreq ], # try to find cpufreq compliant northbridge [ "speedstep-ich", \&probe_ich ], [ "speedstep-smi", \&probe_smi ], [ "cpufreq-nforce2", \&probe_nforce2 ], [ "gsx-suspmod", \&probe_gsx ], # try to find a cpufreq compliant processor [ "p4-clockmod", \&probe_p4 ], [ "powernow-k6", \&probe_powernow_k6 ], [ "powernow-k7", \&probe_powernow_k7 ], [ "powernow-k8", \&probe_powernow_k8 ], [ "longhaul", \&probe_longhaul ], [ "longrun", \&probe_longrun ], ); sub find_driver() { my $m = find { $_->[1]->() } @modules; $m && $m->[0]; } my @governor_modules = map { "cpufreq_$_" } qw(performance powersave conservative ondemand); sub get_modules() { my $module; if (probe_powerpc() || ($module = find_driver())) { return if_($module, $module), @governor_modules; } (); } 1;