summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-02-20 17:38:44 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-02-20 17:38:44 +0000
commitf8636b06025adc6c8966c0d9ea1b7e4a4473f29e (patch)
treed371ae3e694fe3515e8533a83d4abe5cf902c24d /perl-install/detect_devices.pm
parent9311482c3b4cf7b83e6aaa6886d0ef039f889747 (diff)
downloaddrakx-backup-do-not-use-f8636b06025adc6c8966c0d9ea1b7e4a4473f29e.tar
drakx-backup-do-not-use-f8636b06025adc6c8966c0d9ea1b7e4a4473f29e.tar.gz
drakx-backup-do-not-use-f8636b06025adc6c8966c0d9ea1b7e4a4473f29e.tar.bz2
drakx-backup-do-not-use-f8636b06025adc6c8966c0d9ea1b7e4a4473f29e.tar.xz
drakx-backup-do-not-use-f8636b06025adc6c8966c0d9ea1b7e4a4473f29e.zip
(getSagem) lookup sagem8xx modems by module rather than relying on strings
manually added to ldetect-lst
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index d5e65b295..966e450a3 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -385,7 +385,7 @@ sub getSpeedtouch() {
grep { $_->{description} eq 'Alcatel|USB ADSL Modem (Speed Touch)' } probeall();
}
sub getSagem() {
- grep { $_->{description} eq 'Analog Devices Inc.|USB ADSL modem' } probeall();
+ grep { member($_->{driver}, qw(adiusbadsl eagle-usb)) } probeall();
}
# generate from the following from eci driver sources: