From d72ffade4e086fa3eb0f7904a4141dea3ad91705 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Mon, 29 May 2000 17:16:56 +0000 Subject: *** empty log message *** --- perl-install/Xconfigurator.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/Xconfigurator.pm') diff --git a/perl-install/Xconfigurator.pm b/perl-install/Xconfigurator.pm index 19094c3b4..0a312f8eb 100644 --- a/perl-install/Xconfigurator.pm +++ b/perl-install/Xconfigurator.pm @@ -138,12 +138,11 @@ sub keepOnlyLegalModes { } @$res; delete $card->{depth}{$depth} if @$res == 0; } - } sub cardConfigurationAuto() { my $card; - if (my (@c) = pci_probing::main::probe("DISPLAY")) { + if (my (@c) = (pci_probing::main::probe("DISPLAY"), sbus_probing::main::probe("DISPLAY"))) { local $_; ($card->{identifier}, $_) = @{$c[-1]}; $card->{type} = $1 if /Card:(.*)/; @@ -153,6 +152,7 @@ sub cardConfigurationAuto() { } #- take a default on sparc if nothing has been found. if (arch() =~ /^sparc/ && !$card->{server} && !$card->{type}) { + log::l("Using probe with /proc/fb as nothing has been found!"); local $_ = cat_("/proc/fb"); if (/Mach64/) { $card->{server} = "Mach64" } elsif (/Permedia2/) { $card->{server} = "3DLabs" } -- cgit v1.2.1