summaryrefslogtreecommitdiffstats
path: root/lib/Xconfig/card.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-01-04 18:31:50 +0000
committerThierry Vignaud <tv@mageia.org>2012-01-04 18:31:50 +0000
commitaa3468008cfb0adad5c8ee20b5cb7f32045c4496 (patch)
treea8d0cdb592cbd44b3ee8289ada8aeddd89b4d469 /lib/Xconfig/card.pm
parentb028f9b7a39efdc6fafce0b60269432ac299aace (diff)
downloaddrakx-kbd-mouse-x11-aa3468008cfb0adad5c8ee20b5cb7f32045c4496.tar
drakx-kbd-mouse-x11-aa3468008cfb0adad5c8ee20b5cb7f32045c4496.tar.gz
drakx-kbd-mouse-x11-aa3468008cfb0adad5c8ee20b5cb7f32045c4496.tar.bz2
drakx-kbd-mouse-x11-aa3468008cfb0adad5c8ee20b5cb7f32045c4496.tar.xz
drakx-kbd-mouse-x11-aa3468008cfb0adad5c8ee20b5cb7f32045c4496.zip
(readCardsDB,install_server,handle_FIRMWARE) handle new DRIVER2_NO_FIRMWARE and FIRMWARE keywords
thus enabling to handle drivers needing firmware (fixes mga#1471, mga#3421)
Diffstat (limited to 'lib/Xconfig/card.pm')
-rw-r--r--lib/Xconfig/card.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Xconfig/card.pm b/lib/Xconfig/card.pm
index 01cb9ea..30a5929 100644
--- a/lib/Xconfig/card.pm
+++ b/lib/Xconfig/card.pm
@@ -320,6 +320,7 @@ sub install_server {
if ($card->{Driver2}) {
require Xconfig::proprietary;
Xconfig::proprietary::handle_DRIVER2_NO_SSE($card);
+ Xconfig::proprietary::handle_FIRMWARE($do_pkgs, $card);
my @pkgs = Xconfig::proprietary::pkgs_for_Driver2($card->{Driver2}, $do_pkgs);
if (@pkgs && (!$o_in || $o_in->ask_yesorno('', formatAlaTeX(N("There is a proprietary driver available for your video card which may support additional features.
Do you wish to use it?")), 1))) {
@@ -498,6 +499,8 @@ sub readCardsDB {
DRIVER2 => sub { $card->{Driver2} = $val },
DRIVER2_NEEDS_SSE => sub { $card->{DRIVER2_NEEDS_SSE} = 1 },
DRIVER2_NO_SSE => sub { $card->{DRIVER2_NO_SSE} = $val },
+ DRIVER2_NO_FIRMWARE => sub { $card->{DRIVER2_NO_FIRMWARE} = $val },
+ FIRMWARE => sub { $card->{FIRMWARE} = $val },
NEEDVIDEORAM => sub { $card->{needVideoRam} = 1 },
DRI_GLX => sub { $card->{DRI_GLX} = 1 if $card->{Driver} },
DRI_GLX_EXPERIMENTAL => sub { $card->{DRI_GLX_EXPERIMENTAL} = 1 if $card->{Driver} },