summaryrefslogtreecommitdiffstats
path: root/perl-install/modules.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r--perl-install/modules.pm8
1 files changed, 7 insertions, 1 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index fc02afec3..b98230b1e 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -134,6 +134,7 @@ arch() =~ /^sparc/ ? (
"qlogicisp" => "Qlogic ISP",
"sym53c8xx" => "Symbios 53c8xx",
"scsi_mod" => "scsi_mod",
+ "sd_mod" => "sd_mod",
"ide-mod" => "ide-mod",
"ide-probe" => "ide-probe",
}],
@@ -485,7 +486,7 @@ sub write_conf {
my @l = sort grep { $conf{$_}{alias} && /scsi_hostadapter/ } keys %conf;
add_alias('block-major-11', 'scsi_hostadapter') if @l;
- push @l, "ide-floppy" if detect_devices::zips();
+ push @l, "ide-floppy" if detect_devices::ide_zips();
$conf{supermount}{"post-install"} = join " ; ", map { "modprobe $_" } @l if @l;
local *F;
@@ -566,3 +567,8 @@ sub get_pcmcia_devices($$) {
}
@devs;
}
+
+sub load_ide {
+ load("ide-mod", 'prereq', 'options="' . detect_devices::hasUltra66() . '"');
+ load_multi(qw(ide-probe ide-disk ide-cd));
+}