From 2c3af170ce15b0a385ed12054d66c4ccf2bc13aa Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 27 Apr 2015 08:04:57 -0400 Subject: drop support for Alpha/PPC/SPARC like in drakx, it's unused/unsupported for quite a long time --- lib/Xconfig/card.pm | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) (limited to 'lib/Xconfig/card.pm') diff --git a/lib/Xconfig/card.pm b/lib/Xconfig/card.pm index b87dce8..d4b5b6d 100644 --- a/lib/Xconfig/card.pm +++ b/lib/Xconfig/card.pm @@ -28,7 +28,7 @@ my %VideoRams = ( 65536 => N_("64 MB or more"), ); -my @xfree4_Drivers = ((arch() =~ /^sparc/ ? qw(sunbw2 suncg14 suncg3 suncg6 sunffb sunleo suntcx) : +my @xfree4_Drivers = (( qw(apm ark ast chips cirrus i128 i740 intel mga neomagic newport nouveau nv openchrome psb qxl rendition s3 s3virge savage siliconmotion sis sisusb @@ -59,12 +59,6 @@ sub to_raw_X { my @cards = ($card, @{$card->{cards} || []}); - foreach (@cards) { - if (arch() =~ /ppc/ && member($_->{Driver}, qw(r128 radeon))) { - $_->{UseFBDev} = 1; - } - } - $raw_X->set_devices(@cards); $raw_X->get_ServerLayout->{Xinerama} = { commented => !$card->{Xinerama}, Option => 1 } @@ -119,12 +113,6 @@ sub probe() { if (@cards >= 2 && $cards[0]{card_name} eq $cards[1]{card_name} && $cards[0]{card_name} eq 'Intel 830 - 965') { shift @cards; } - #- take a default on sparc if nothing has been found. - if (arch() =~ /^sparc/ && !@cards) { - log::l("Using probe with /proc/fb as nothing has been found!"); - my $s = cat_("/proc/fb"); - @cards = { server => $s =~ /Mach64/ ? "Mach64" : $s =~ /Permedia2/ ? "3DLabs" : "Sun24" }; - } #- disabling MULTI_HEAD when not available foreach (@cards) { @@ -138,8 +126,7 @@ sub probe() { #- in case of only one cards, remove all BusID reference, this will avoid #- need of change of it if the card is moved. - #- on many PPC machines, card is on-board, BusID is important, leave? - if (@cards == 1 && !$cards[0]{MULTI_HEAD} && arch() !~ /ppc/) { + if (@cards == 1 && !$cards[0]{MULTI_HEAD}) { delete $cards[0]{BusID}; } -- cgit v1.2.1