summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-07-27 10:48:28 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-07-27 10:48:28 +0000
commit09809c530e90e54accde77e118c09b94b5207682 (patch)
treef561c991274dc21f54c4a86667cc2d871df92aa4 /perl-install/detect_devices.pm
parent6d0529abbb5c5be16a88b71a64e3c0ba60c01e4c (diff)
downloaddrakx-backup-do-not-use-09809c530e90e54accde77e118c09b94b5207682.tar
drakx-backup-do-not-use-09809c530e90e54accde77e118c09b94b5207682.tar.gz
drakx-backup-do-not-use-09809c530e90e54accde77e118c09b94b5207682.tar.bz2
drakx-backup-do-not-use-09809c530e90e54accde77e118c09b94b5207682.tar.xz
drakx-backup-do-not-use-09809c530e90e54accde77e118c09b94b5207682.zip
use add_probeall for scsi_hostadapter, not add_alias (may fix a bug reported by Jure Repinc)
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index b4eef5ec6..7ffd92252 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -56,7 +56,7 @@ sub cdroms__faking_ide_scsi {
return @l if $::isStandalone;
if (my @l_ide = grep { $_->{bus} eq 'ide' && isBurner($_) } @l) {
require modules;
- modules::add_alias('scsi_hostadapter', 'ide-scsi');
+ modules::add_probeall('scsi_hostadapter', 'ide-scsi');
my $nb = 1 + max(-1, map { $_->{device} =~ /scd(\d+)/ } @l);
foreach my $e (@l_ide) {
log::l("IDEBurner: $e->{device}");
@@ -69,7 +69,7 @@ sub zips__faking_ide_scsi {
my @l = raw_zips();
if (my @l_ide = grep { $_->{bus} eq 'ide' && $::isInstall } @l) {
require modules;
- modules::add_alias('scsi_hostadapter', 'ide-scsi');
+ modules::add_probeall('scsi_hostadapter', 'ide-scsi');
my $nb = 1 + max(-1, map { if_($_->{device} =~ /sd(\w+)/, ord($1) - ord('a')) } getSCSI());
foreach my $e (@l_ide) {
my $faked = "sd" . chr(ord('a') + $nb++);