summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-09-17 09:46:14 +0000
committerThierry Vignaud <tv@mandriva.org>2007-09-17 09:46:14 +0000
commit6f8a1ea171832f1ae1ad7817edf94ae50f0605aa (patch)
tree705f52488a66645c897cbdf148f46d6592b64546 /perl-install/detect_devices.pm
parentd9563ea3ff8b2b8aa326dfad8220df139620772a (diff)
downloaddrakx-6f8a1ea171832f1ae1ad7817edf94ae50f0605aa.tar
drakx-6f8a1ea171832f1ae1ad7817edf94ae50f0605aa.tar.gz
drakx-6f8a1ea171832f1ae1ad7817edf94ae50f0605aa.tar.bz2
drakx-6f8a1ea171832f1ae1ad7817edf94ae50f0605aa.tar.xz
drakx-6f8a1ea171832f1ae1ad7817edf94ae50f0605aa.zip
(getSCSI) extract std "vendor|description" in description field
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 49690f23f..249f0df6a 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -220,6 +220,7 @@ sub getSCSI() {
$raw_type =~ /Scanner|Processor/ && 'scanner';
push @l, { info => $get->('vendor') . ' ' . $get->('model'), host => $host, channel => $channel, id => $id, lun => $lun,
+ description => join('|', $get->('vendor'), $get->('model')),
bus => 'SCSI', media_type => $media_type, device => $device,
$usb_dir ? (
usb_vendor => hex($get_usb->('idVendor')), usb_id => hex($get_usb->('idProduct')),