summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-08-16 02:02:33 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-08-16 02:02:33 +0000
commit6df49b632439a900db6f10782595bc8bf64cf1fb (patch)
tree1a9141106b66f4f6ca3c1499a535841260fa5b62
parenta601b24141811e50d946f27ad05194593c487754 (diff)
downloaddrakx-6df49b632439a900db6f10782595bc8bf64cf1fb.tar
drakx-6df49b632439a900db6f10782595bc8bf64cf1fb.tar.gz
drakx-6df49b632439a900db6f10782595bc8bf64cf1fb.tar.bz2
drakx-6df49b632439a900db6f10782595bc8bf64cf1fb.tar.xz
drakx-6df49b632439a900db6f10782595bc8bf64cf1fb.zip
modules::load doesn't accept options anymore, use modules::load_with_options() (bugzilla #10778)
-rw-r--r--perl-install/install2.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index db2a700ea..0ae072f13 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -329,9 +329,8 @@ sub start_i810fb() {
eval { modules::load('intel-agp') };
eval {
any::ddcxinfos(); # keep the result otherwise ddcxinfos doesn't return good results afterwards
- modules::load([ 'i810fb',
- "xres=$xres", 'hsync1=32', 'hsync2=48', 'vsync1=50', 'vsync2=70', #- this sucking i810fb does not accept floating point numbers in hsync!
- 'vram=2', 'bpp=16', 'accel=1', 'mtrr=1' ]);
+ my $opt = "xres=$xres hsync1=32 hsync2=48 vsync1=50 vsync2=70 vram=2 bpp=16 accel=1 mtrr=1"; #- this sucking i810fb does not accept floating point numbers in hsync!
+ modules::load_with_options([ 'i810fb' ], { i810fb => $opt });
};
}