diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-02-14 02:54:41 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-02-14 02:54:41 +0000 |
commit | 6c3307d3ffe6d35da0930c6fbe43eabdf5c43a9c (patch) | |
tree | 307acc40635a6e8d69a58ef2ac0a3f008b01b7da /perl-install/network/isdn.pm | |
parent | aa7f2fcb1c8b7ada602a5a5dd64401cc11d4c189 (diff) | |
download | drakx-backup-do-not-use-6c3307d3ffe6d35da0930c6fbe43eabdf5c43a9c.tar drakx-backup-do-not-use-6c3307d3ffe6d35da0930c6fbe43eabdf5c43a9c.tar.gz drakx-backup-do-not-use-6c3307d3ffe6d35da0930c6fbe43eabdf5c43a9c.tar.bz2 drakx-backup-do-not-use-6c3307d3ffe6d35da0930c6fbe43eabdf5c43a9c.tar.xz drakx-backup-do-not-use-6c3307d3ffe6d35da0930c6fbe43eabdf5c43a9c.zip |
(isdn_detect_backend) try harder to detect ISDN devices
Diffstat (limited to 'perl-install/network/isdn.pm')
-rw-r--r-- | perl-install/network/isdn.pm | 3 |
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; } |