summaryrefslogtreecommitdiffstats
path: root/lib/Xconfig/card.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-09-10 07:29:34 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-09-10 07:29:34 +0000
commit00e66f868bef1658e5f6582463614b45af04d1c0 (patch)
treefc59c92024be0f076a25acfa207c1489d778e39d /lib/Xconfig/card.pm
parent8215a2780b23024f904610973f774f5a3be337d8 (diff)
downloaddrakx-kbd-mouse-x11-00e66f868bef1658e5f6582463614b45af04d1c0.tar
drakx-kbd-mouse-x11-00e66f868bef1658e5f6582463614b45af04d1c0.tar.gz
drakx-kbd-mouse-x11-00e66f868bef1658e5f6582463614b45af04d1c0.tar.bz2
drakx-kbd-mouse-x11-00e66f868bef1658e5f6582463614b45af04d1c0.tar.xz
drakx-kbd-mouse-x11-00e66f868bef1658e5f6582463614b45af04d1c0.zip
- in the list of available Xorg drivers, add "Driver" from Cards+
(will ease the maintainance of the list of drivers in Xconfig/card.pm)
Diffstat (limited to 'lib/Xconfig/card.pm')
-rw-r--r--lib/Xconfig/card.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Xconfig/card.pm b/lib/Xconfig/card.pm
index a92edf1..d2f789b 100644
--- a/lib/Xconfig/card.pm
+++ b/lib/Xconfig/card.pm
@@ -158,7 +158,8 @@ sub card_config__not_listed {
);
my $cards = readCardsDB("$ENV{SHARE_PATH}/ldetect-lst/Cards+");
- my @xf4 = grep { $options->{allowFB} || $::isStandalone || $_ ne 'fbdev' } @xfree4_Drivers;
+ my @xf4 = grep { $options->{allowFB} || $::isStandalone || $_ ne 'fbdev' }
+ uniq(@xfree4_Drivers, map { $_->{Driver} } values %$cards);
my @list = (
(map { 'Vendor|' . $_ } keys %$cards),
(map { 'Xorg|' . $_ } @xf4),