diff options
author | Francois Pons <fpons@mandriva.com> | 2002-04-26 13:34:18 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2002-04-26 13:34:18 +0000 |
commit | 86722a4fa610507e756d16da029aa88cec0e9c45 (patch) | |
tree | dbed280bbab05ece626aebceb589688fd7effe05 | |
parent | 4a4f69dba9b824a8cbe5c9b6097328e8f41fc240 (diff) | |
download | drakx-86722a4fa610507e756d16da029aa88cec0e9c45.tar drakx-86722a4fa610507e756d16da029aa88cec0e9c45.tar.gz drakx-86722a4fa610507e756d16da029aa88cec0e9c45.tar.bz2 drakx-86722a4fa610507e756d16da029aa88cec0e9c45.tar.xz drakx-86722a4fa610507e756d16da029aa88cec0e9c45.zip |
fixed some machine with two present i830 CGC but only one in reality.
-rw-r--r-- | perl-install/Xconfigurator.pm | 1 |
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")) }; |