summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-10-23 11:32:38 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-10-23 11:32:38 +0000
commit05c4b4b232f187ad0513f463363b380694c587c5 (patch)
tree0a84e86ccb769f71ce75ff1b00dccf5f968e143b /perl-install/detect_devices.pm
parent68b151a5194f36584d0c27d8e95fb1f84eedcd1f (diff)
downloaddrakx-05c4b4b232f187ad0513f463363b380694c587c5.tar
drakx-05c4b4b232f187ad0513f463363b380694c587c5.tar.gz
drakx-05c4b4b232f187ad0513f463363b380694c587c5.tar.bz2
drakx-05c4b4b232f187ad0513f463363b380694c587c5.tar.xz
drakx-05c4b4b232f187ad0513f463363b380694c587c5.zip
fix "poulpy sux"
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 f7adeeb5d..6b718fb0d 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -377,16 +377,16 @@ sub getSerialModem {
my $serdev = arch() =~ /ppc/ ? "macserial" : "serial";
eval { modules::load($serdev) };
- detect_devices::probeSerialDevices();
+ probeSerialDevices();
foreach ('modem', map { "ttyS$_" } (0..7)) {
next if $mouse->{device} =~ /$_/;
next unless -e "/dev/$_";
- detect_devices::hasModem("/dev/$_") and $modem->{device} = $_, last;
+ hasModem("/dev/$_") and $modem->{device} = $_, last;
}
#- add an alias for macserial on PPC
modules::add_alias('serial', $serdev) if (arch() =~ /ppc/ && $modem->{device});
- my @devs = detect_devices::pcmcia_probe();
+ my @devs = pcmcia_probe();
foreach (@devs) {
$_->{type} =~ /serial/ and $modem->{device} = $_->{device};
}