From 6df49b632439a900db6f10782595bc8bf64cf1fb Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 16 Aug 2004 02:02:33 +0000 Subject: modules::load doesn't accept options anymore, use modules::load_with_options() (bugzilla #10778) --- perl-install/install2.pm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'perl-install') 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 }); }; } -- cgit v1.2.1