summaryrefslogtreecommitdiffstats
path: root/lib/Xconfig/card.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-04-27 08:04:57 -0400
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-11-08 15:55:45 +0100
commit2c3af170ce15b0a385ed12054d66c4ccf2bc13aa (patch)
tree5705963b26129efc4e9082047be4ab8a4b76ed69 /lib/Xconfig/card.pm
parent84021f342992ec5f0e4383c80da942f60a34dcb3 (diff)
downloaddrakx-kbd-mouse-x11-2c3af170ce15b0a385ed12054d66c4ccf2bc13aa.tar
drakx-kbd-mouse-x11-2c3af170ce15b0a385ed12054d66c4ccf2bc13aa.tar.gz
drakx-kbd-mouse-x11-2c3af170ce15b0a385ed12054d66c4ccf2bc13aa.tar.bz2
drakx-kbd-mouse-x11-2c3af170ce15b0a385ed12054d66c4ccf2bc13aa.tar.xz
drakx-kbd-mouse-x11-2c3af170ce15b0a385ed12054d66c4ccf2bc13aa.zip
drop support for Alpha/PPC/SPARC
like in drakx, it's unused/unsupported for quite a long time
Diffstat (limited to 'lib/Xconfig/card.pm')
-rw-r--r--lib/Xconfig/card.pm17
1 files changed, 2 insertions, 15 deletions
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};
}