summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-10-23 15:40:12 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-10-23 15:40:12 +0000
commita34d347ff739c2c3a275588eea355eac8fe502c9 (patch)
treee9ea2413bac374cfa88d28f72d52497989d65028 /perl-install/detect_devices.pm
parent77f8921cca2fddb74241c4d51448df4202c0d3a8 (diff)
downloaddrakx-backup-do-not-use-a34d347ff739c2c3a275588eea355eac8fe502c9.tar
drakx-backup-do-not-use-a34d347ff739c2c3a275588eea355eac8fe502c9.tar.gz
drakx-backup-do-not-use-a34d347ff739c2c3a275588eea355eac8fe502c9.tar.bz2
drakx-backup-do-not-use-a34d347ff739c2c3a275588eea355eac8fe502c9.tar.xz
drakx-backup-do-not-use-a34d347ff739c2c3a275588eea355eac8fe502c9.zip
(floppies, probeall): add require "modules" as it should be
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 1b8c60440..29356e9b5 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -59,6 +59,7 @@ sub burners { grep { isBurner($_->{device}) } cdroms() }
sub IDEburners { grep { $_->{type} eq 'cdrom' && isBurner($_->{device}) } getIDE() }
sub floppies() {
+ require modules;
my @ide = map { $_->{device} } ls120s() and modules::load("ide-floppy");
my @scsi = map { $_->{device} } usbfdus();
(@ide, @scsi, grep { tryOpen($_) } qw(fd0 fd1));
@@ -179,6 +180,7 @@ sub probeall {
my ($probe_type) = @_;
require pci_probing::main;
require sbus_probing::main;
+ require modules;
pci_probing::main::probe($probe_type), sbus_probing::main::probe(), modules::get_pcmcia_devices();
}
sub matching_desc {