From 90b7b7f7a18d0d319757bee4a5568f9d719655de Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 10 Feb 2003 22:01:20 +0000 Subject: ck hptraid, but discard the insmod error for it --- kernel/list_modules.pm | 2 +- perl-install/modules.pm | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/kernel/list_modules.pm b/kernel/list_modules.pm index cb0080bd1..da93d4834 100644 --- a/kernel/list_modules.pm +++ b/kernel/list_modules.pm @@ -74,7 +74,7 @@ our %l = ( if_(arch() =~ /^sparc/, qw(pluto)), if_(arch() !~ /alpha/ && arch() !~ /sparc/, qw(DAC960 dpt_i2o megaraid aacraid ataraid cciss cpqarray gdth i2o_block), - qw(cpqfc qla2200 qla2300), + qw(cpqfc qla2200 qla2300 hptraid), qw(ips ppa imm), ), ], diff --git a/perl-install/modules.pm b/perl-install/modules.pm index 314b572ee..764575341 100644 --- a/perl-install/modules.pm +++ b/perl-install/modules.pm @@ -95,6 +95,8 @@ sub load_category { eval { load([ $_->{driver}, $_->{options} ]) }; $_->{error} = $@; + $_->{try} = 1 if $_->{driver} eq 'hptraid'; + !($_->{error} && $_->{try}); } probe_category($category, $probe_type), map { { driver => $_, description => $_, try => 1 } } @try_modules; -- cgit v1.2.1