summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-09-12 16:39:14 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-09-12 16:39:14 +0000
commitdff746444b3fc778dbf9f818cc3247161548cebe (patch)
tree557dc643599c3d6a71beecbe82384fd880f4094a /perl-install/detect_devices.pm
parent8adabacd95f6a4455027f00084e39958fada6083 (diff)
downloaddrakx-backup-do-not-use-dff746444b3fc778dbf9f818cc3247161548cebe.tar
drakx-backup-do-not-use-dff746444b3fc778dbf9f818cc3247161548cebe.tar.gz
drakx-backup-do-not-use-dff746444b3fc778dbf9f818cc3247161548cebe.tar.bz2
drakx-backup-do-not-use-dff746444b3fc778dbf9f818cc3247161548cebe.tar.xz
drakx-backup-do-not-use-dff746444b3fc778dbf9f818cc3247161548cebe.zip
no_comment
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 768569bac..414663da3 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -178,17 +178,17 @@ sub hasNetDevice($) { c::hasNetDevice($_[0]) }
# get_pcmcia_devices provides field "device", used in network.pm
# => probeall with $probe_type is unsafe
sub probeall {
- my ($probe_type, $pcic) = @_;
+ my ($probe_type) = @_;
require pci_probing::main;
require sbus_probing::main;
- pci_probing::main::probe($probe_type), sbus_probing::main::probe(), modules::get_pcmcia_devices($pcic);
+ pci_probing::main::probe($probe_type), sbus_probing::main::probe(), modules::get_pcmcia_devices();
}
sub matching_desc {
my ($regexp) = @_;
grep { $_->{description} =~ /$regexp/i } probeall();
}
sub stringlist {
- map { " $_->{description} ($_->{type} $_->{driver})" } probeall(1, @_);
+ map { " $_->{description} ($_->{type} $_->{driver})" } probeall(1);
}
sub check {
my ($l) = @_;