From 61a44fbe6e97a227d9a4472bdf24bae535b3b445 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 24 Aug 2005 16:21:03 +0000 Subject: ahci and ata_piix handle the same hardware, it only depends on the bios configuration, so try each one... --- perl-install/modules.pm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'perl-install/modules.pm') diff --git a/perl-install/modules.pm b/perl-install/modules.pm index 456b9e92b..1c2ebe079 100644 --- a/perl-install/modules.pm +++ b/perl-install/modules.pm @@ -140,6 +140,12 @@ sub load_category { eval { load_and_configure($conf, $_->{driver}, $_->{options}) }; $_->{error} = $@; + if ($_->{error} && member($_->{driver}, 'ahci', 'ata_piix')) { + #- HACK: ahci and ata_piix handle the same hardware, it only depends on the bios configuration + $_->{driver} = $_->{driver} eq 'ahci' ? 'ata_piix' : 'ahci'; + redo; + } + $_->{try} = 1 if member($_->{driver}, 'hptraid', 'ohci1394'); #- do not warn when this fails } grep { !($_->{error} && $_->{try}) } @l; -- cgit v1.2.1