summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-04-26 13:34:18 +0000
committerFrancois Pons <fpons@mandriva.com>2002-04-26 13:34:18 +0000
commit86722a4fa610507e756d16da029aa88cec0e9c45 (patch)
treedbed280bbab05ece626aebceb589688fd7effe05
parent4a4f69dba9b824a8cbe5c9b6097328e8f41fc240 (diff)
downloaddrakx-backup-do-not-use-86722a4fa610507e756d16da029aa88cec0e9c45.tar
drakx-backup-do-not-use-86722a4fa610507e756d16da029aa88cec0e9c45.tar.gz
drakx-backup-do-not-use-86722a4fa610507e756d16da029aa88cec0e9c45.tar.bz2
drakx-backup-do-not-use-86722a4fa610507e756d16da029aa88cec0e9c45.tar.xz
drakx-backup-do-not-use-86722a4fa610507e756d16da029aa88cec0e9c45.zip
fixed some machine with two present i830 CGC but only one in reality.
-rw-r--r--perl-install/Xconfigurator.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/Xconfigurator.pm b/perl-install/Xconfigurator.pm
index 6e849c3e6..022409ab5 100644
--- a/perl-install/Xconfigurator.pm
+++ b/perl-install/Xconfigurator.pm
@@ -158,6 +158,7 @@ sub keepOnlyLegalModes {
sub cardConfigurationAuto() {
my @cards;
if (my @c = grep { $_->{driver} =~ /(Card|Server):/ } detect_devices::probeall()) {
+ @c >= 2 && $c[0]{description} eq $c[1]{description} && $c[0]{description} =~ /82830 CGC/ and shift @c;
foreach my $i (0..$#c) {
local $_ = $c[$i]->{driver};
my $card = { identifier => ($c[$i]{description} . (@c > 1 && " $i")) };