From 17a63262944ae1c1186393e9c052ce1a857cf419 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 19 Jul 2002 15:59:13 +0000 Subject: (readCardsDB): add handling BAD_FB_RESTORE & BAD_FB_RESTORE_XF3 --- perl-install/Xconfig.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/Xconfig.pm b/perl-install/Xconfig.pm index 975121235..d5a4ec8d7 100644 --- a/perl-install/Xconfig.pm +++ b/perl-install/Xconfig.pm @@ -271,6 +271,8 @@ sub readCardsDB { DRI_GLX_EXPERIMENTAL => sub { $card->{DRI_GLX_EXPERIMENTAL} = 1 if $card->{driver} }, UTAH_GLX_EXPERIMENTAL => sub { $card->{UTAH_GLX_EXPERIMENTAL} = 1 if $card->{server} }, MULTI_HEAD => sub { $card->{MULTI_HEAD} = $val if $card->{driver} }, + BAD_FB_RESTORE => sub { $card->{BAD_FB_RESTORE} = 1 }, + BAD_FB_RESTORE_XF3 => sub { $card->{BAD_FB_RESTORE_XF3} = 1 }, UNSUPPORTED => sub { delete $card->{driver} }, COMMENT => sub {}, @@ -283,7 +285,7 @@ sub readCardsDB { /^$/ and next; /^END/ and do { $cards{$card->{card_name}} = $card if $card; last }; - ($cmd, $val) = /(\S+)\s*(.*)/ or next; #log::l("bad line $lineno ($_)"), next; + ($cmd, $val) = /(\S+)\s*(.*)/ or next; my $f = $fs->{$cmd}; -- cgit v1.2.1