diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-08-24 16:21:03 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-08-24 16:21:03 +0000 |
commit | 61a44fbe6e97a227d9a4472bdf24bae535b3b445 (patch) | |
tree | bae6885bc8b074b222e045ab1afb354da73a0549 | |
parent | 272a7f339aa75947b5c8430ab3ca59ec50566a38 (diff) | |
download | drakx-backup-do-not-use-61a44fbe6e97a227d9a4472bdf24bae535b3b445.tar drakx-backup-do-not-use-61a44fbe6e97a227d9a4472bdf24bae535b3b445.tar.gz drakx-backup-do-not-use-61a44fbe6e97a227d9a4472bdf24bae535b3b445.tar.bz2 drakx-backup-do-not-use-61a44fbe6e97a227d9a4472bdf24bae535b3b445.tar.xz drakx-backup-do-not-use-61a44fbe6e97a227d9a4472bdf24bae535b3b445.zip |
ahci and ata_piix handle the same hardware, it only depends on the bios configuration, so try each one...
-rw-r--r-- | perl-install/modules.pm | 6 |
1 files changed, 6 insertions, 0 deletions
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; |