summaryrefslogtreecommitdiffstats
path: root/lib/Xconfig/card.pm
diff options
context:
space:
mode:
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),