summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2010-01-18 12:15:36 +0000
committerThierry Vignaud <tv@mandriva.org>2010-01-18 12:15:36 +0000
commit8a40094fc2b5dd947f1da940381e49570602eb5a (patch)
tree09605a66c98ef861290c36e4a81cf0442493f5e7 /perl-install
parent650c8d714412026d561433a9e38880ba9e765683 (diff)
downloaddrakx-8a40094fc2b5dd947f1da940381e49570602eb5a.tar
drakx-8a40094fc2b5dd947f1da940381e49570602eb5a.tar.gz
drakx-8a40094fc2b5dd947f1da940381e49570602eb5a.tar.bz2
drakx-8a40094fc2b5dd947f1da940381e49570602eb5a.tar.xz
drakx-8a40094fc2b5dd947f1da940381e49570602eb5a.zip
(_get_hd_vendor) detect "Hitachi" vendor for more hard discs
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/detect_devices.pm1
2 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 34dd7d6fa..da959432c 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -2,7 +2,7 @@
o fix reading security level
o enable to set bootloader password in high security level
- harddrake
- o detect "Maxtor" vendor for hard discs
+ o detect "Hitachi" & "Maxtor" vendors for more hard discs
o fix displaying empty info for USB discs
o fix detecting firewire controllers with newer kernels
o guess real vendor names for SCSI discs like we do for IDE devices
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index aa5e42b36..1cb882cfb 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -297,6 +297,7 @@ sub _get_hd_vendor {
next if !$name;
return ($hd_vendors{$name}, $2) if $info =~ /^$name(-|\s)*(.*)/;
}
+ return ("Hitachi", $info) if $info =~ /^HD[ST][0-9]/;
}