From 6d3faeb9846f336be402f1acab8ffabf3233560f Mon Sep 17 00:00:00 2001 From: "Thierry.Vignaud" Date: Mon, 26 May 2014 14:11:43 +0200 Subject: drop (broken) support for Alpha, PPC, Sparc & most of IA64 Including Xsun, silo & yaboot support Rationale: it's unused/unmaintained for years and those arches are beyond any hope of being usefull any day... They just got in the way... Part of IA64 support is still kept (eg: support for GPT, EFI, right xorg driver at install, ...) as it might be usefull to extend to other arches Next to consider: Xbox? --- perl-install/cpufreq.pm | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'perl-install/cpufreq.pm') diff --git a/perl-install/cpufreq.pm b/perl-install/cpufreq.pm index 2c13c4865..bbcf56700 100644 --- a/perl-install/cpufreq.pm +++ b/perl-install/cpufreq.pm @@ -74,15 +74,6 @@ sub probe_gsx() { find_pci_device([ 0x1078, 0x0100 ], [ 0x1078, 0x0002 ], [ 0x1078, 0x0000 ]); } -sub probe_powerpc() { - arch() =~ /ppc/ && any { - member($_->{motherboard}, ('PowerBook3,4', 'PowerBook3,5', 'PowerBook4,1', 'PowerBook3,2', 'MacRISC3')) && - # Kernel contains a special case for the supported 750FX, - # not sure if the cpu name can be used, so use same test as kernel - first($_->{revision} =~ /\bpvr\s+(\d+)\b/) == 7000; - } get_cpus(); -} - sub probe_p4() { any { get_vendor($_) eq "Intel" && ( @@ -170,7 +161,7 @@ my @governor_modules = map { "cpufreq_$_" } qw(powersave conservative ondemand); sub get_modules() { my $module; - if (probe_powerpc() || ($module = find_driver())) { + if ($module = find_driver()) { return if_($module, $module), @governor_modules; } (); -- cgit v1.2.1