From 00e66f868bef1658e5f6582463614b45af04d1c0 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 10 Sep 2007 07:29:34 +0000 Subject: - in the list of available Xorg drivers, add "Driver" from Cards+ (will ease the maintainance of the list of drivers in Xconfig/card.pm) --- lib/Xconfig/card.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/Xconfig/card.pm') 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), -- cgit v1.2.1