From 48130561b573e9f4923ad66a370ed562afed7dd7 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 22 Jan 2004 15:12:21 +0000 Subject: (getECI) introduce it in order to detect eci like usb modems --- perl-install/detect_devices.pm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'perl-install') diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index c426b147c..811597dd4 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -427,6 +427,26 @@ sub getSagem() { grep { $_->{description} eq 'Analog Devices Inc.|USB ADSL modem' } probeall(); } +# generate from the following from eci driver sources: +# perl -e 'while (<>) { print qq("$1$2$3$4",\n) if /\b([a-z\d]*)\s*([a-z\d]*)\s*([a-z\d]*)\s*([a-z\d]*)$/ }' {vendor}, $_->{id}, $_->{subvendor}, $_->{subid}), @ids) } usb_probe(); +} + sub getNet() { grep { !($::isStandalone && /plip/) && c::hasNetDevice($_) } grep { /^(eth|fddi|plip|tr|usb|wifi|wlan)/ } -- cgit v1.2.1