summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake/data.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-10-16 14:13:37 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-10-16 14:13:37 +0000
commit58a66fcc05bce9e2d71706b07d832c69ee5764fd (patch)
tree2ee02c0f0294b7a57dbc37247c7eb1b14ae7132f /perl-install/harddrake/data.pm
parentee124ddcc47e9c953b2d5f01caf70b1817a565db (diff)
downloaddrakx-backup-do-not-use-58a66fcc05bce9e2d71706b07d832c69ee5764fd.tar
drakx-backup-do-not-use-58a66fcc05bce9e2d71706b07d832c69ee5764fd.tar.gz
drakx-backup-do-not-use-58a66fcc05bce9e2d71706b07d832c69ee5764fd.tar.bz2
drakx-backup-do-not-use-58a66fcc05bce9e2d71706b07d832c69ee5764fd.tar.xz
drakx-backup-do-not-use-58a66fcc05bce9e2d71706b07d832c69ee5764fd.zip
display "$vendor cpu number $id" for cpus in harddrake gui
Diffstat (limited to 'perl-install/harddrake/data.pm')
-rw-r--r--perl-install/harddrake/data.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm
index a840d7d38..d7c5befff 100644
--- a/perl-install/harddrake/data.pm
+++ b/perl-install/harddrake/data.pm
@@ -73,7 +73,10 @@ our @tree =
sub custom_id {
my ($device, $str) = @_;
- defined($device->{device}) ? $device->{device} : (defined($device->{description}) ? $device->{description} : $str);
+ defined($device->{device}) ? $device->{device} :
+ (defined($device->{processor}) ?
+ "$device->{vendor_id} " . _("cpu number ") . $device->{processor} :
+ (defined($device->{description}) ? $device->{description} : $str));
}
1;