summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-07-19 15:59:13 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-07-19 15:59:13 +0000
commit17a63262944ae1c1186393e9c052ce1a857cf419 (patch)
treea271c0cb046b9344ea4031be8050f5b30c2ac91c /perl-install/Xconfig.pm
parent28412d69799fbe42c9b229a82dfdf6e2a33bebfe (diff)
downloaddrakx-backup-do-not-use-17a63262944ae1c1186393e9c052ce1a857cf419.tar
drakx-backup-do-not-use-17a63262944ae1c1186393e9c052ce1a857cf419.tar.gz
drakx-backup-do-not-use-17a63262944ae1c1186393e9c052ce1a857cf419.tar.bz2
drakx-backup-do-not-use-17a63262944ae1c1186393e9c052ce1a857cf419.tar.xz
drakx-backup-do-not-use-17a63262944ae1c1186393e9c052ce1a857cf419.zip
(readCardsDB): add handling BAD_FB_RESTORE & BAD_FB_RESTORE_XF3
Diffstat (limited to 'perl-install/Xconfig.pm')
-rw-r--r--perl-install/Xconfig.pm4
1 files changed, 3 insertions, 1 deletions
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};