summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-02-14 02:54:41 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-02-14 02:54:41 +0000
commit6c3307d3ffe6d35da0930c6fbe43eabdf5c43a9c (patch)
tree307acc40635a6e8d69a58ef2ac0a3f008b01b7da
parentaa7f2fcb1c8b7ada602a5a5dd64401cc11d4c189 (diff)
downloaddrakx-6c3307d3ffe6d35da0930c6fbe43eabdf5c43a9c.tar
drakx-6c3307d3ffe6d35da0930c6fbe43eabdf5c43a9c.tar.gz
drakx-6c3307d3ffe6d35da0930c6fbe43eabdf5c43a9c.tar.bz2
drakx-6c3307d3ffe6d35da0930c6fbe43eabdf5c43a9c.tar.xz
drakx-6c3307d3ffe6d35da0930c6fbe43eabdf5c43a9c.zip
(isdn_detect_backend) try harder to detect ISDN devices
-rw-r--r--perl-install/network/isdn.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/network/isdn.pm b/perl-install/network/isdn.pm
index 153233b58..ed78f2841 100644
--- a/perl-install/network/isdn.pm
+++ b/perl-install/network/isdn.pm
@@ -196,6 +196,7 @@ If you have a PCMCIA card, you have to know the \"irq\" and \"io\" of your card.
sub isdn_detect_backend() {
my $isdn = { };
+ require detect_devices;
each_index {
my $c = $_;
$isdn->{$::i} = { map { $_ => $c->{$_} } qw(description vendor id driver card_type type) };
@@ -210,7 +211,7 @@ sub isdn_detect_backend() {
modules::set_options($c->{driver}, $c->{options} . " protocol=" . $isdn->{protocol});
}
$c->{options} =~ /protocol=(\d)/ and $isdn->{protocol} = $1;
- } modules::probe_category('network/isdn');
+ } modules::probe_category('network/isdn'), grep { $_->{driver} =~ /^ISDN:/ } detect_devices::probeall();
$isdn;
}