summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-09-28 00:38:31 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-09-28 00:38:31 +0000
commita2684a39b0328d328fb5fc15443b34f229405583 (patch)
tree90b4c93e38a7c75d664f2651c1a8c86f23540265 /perl-install/detect_devices.pm
parentded1296850850b73f27a33eb0259aa6df70a04f1 (diff)
downloaddrakx-backup-do-not-use-a2684a39b0328d328fb5fc15443b34f229405583.tar
drakx-backup-do-not-use-a2684a39b0328d328fb5fc15443b34f229405583.tar.gz
drakx-backup-do-not-use-a2684a39b0328d328fb5fc15443b34f229405583.tar.bz2
drakx-backup-do-not-use-a2684a39b0328d328fb5fc15443b34f229405583.tar.xz
drakx-backup-do-not-use-a2684a39b0328d328fb5fc15443b34f229405583.zip
no_comment
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 e3b70cfff..4c9360d8e 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -184,7 +184,7 @@ sub matching_desc {
grep { $_->{description} =~ /$regexp/i } probeall();
}
sub stringlist {
- map { " $_->{description} ($_->{type} $_->{driver})" } probeall(1);
+ map { " $_->{description} ($_->{type} $_->{driver})" . ($_->{subid} ? sprintf(" SubVendor=0x%04x SubDevice=0x%04x", $_->{subvendor}, $_->{subid}) : '') } probeall(1);
}
sub check {
my ($l) = @_;