summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake/data.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-11-02 11:03:18 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-11-02 11:03:18 +0000
commitc1c7b5d9db1523ea9e2f5e0da1aabc0ba20b7853 (patch)
tree56549d4513d5eb3853eab884a7486a15d39ea412 /perl-install/harddrake/data.pm
parentbeeba5116f6e35ec1cd4a1588ca4769c27033d17 (diff)
downloaddrakx-c1c7b5d9db1523ea9e2f5e0da1aabc0ba20b7853.tar
drakx-c1c7b5d9db1523ea9e2f5e0da1aabc0ba20b7853.tar.gz
drakx-c1c7b5d9db1523ea9e2f5e0da1aabc0ba20b7853.tar.bz2
drakx-c1c7b5d9db1523ea9e2f5e0da1aabc0ba20b7853.tar.xz
drakx-c1c7b5d9db1523ea9e2f5e0da1aabc0ba20b7853.zip
display more information
Diffstat (limited to 'perl-install/harddrake/data.pm')
-rw-r--r--perl-install/harddrake/data.pm12
1 files changed, 12 insertions, 0 deletions
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm
index 308704b3d..43b11d1cd 100644
--- a/perl-install/harddrake/data.pm
+++ b/perl-install/harddrake/data.pm
@@ -239,6 +239,15 @@ our @tree =
},
{
+ class => "MEMORY",
+ string => N("Memory"),
+ icon => "memory.png",
+ configurator => "",
+ detector => sub { grep { member($_->{name}, 'Cache', 'Memory Module') } detect_devices::dmidecode() },
+ checked_on_boot => 1,
+ },
+
+ {
class => "AGP",
string => N("AGP controllers"),
icon => "memory.png",
@@ -429,6 +438,9 @@ sub custom_id {
defined($device->{device}) ? $device->{device} :
(defined($device->{processor}) ?
N("cpu # ") . $device->{processor} . ": " . $device->{'model name'} :
+ $device->{"Socket Designation"} ?
+ "$device->{name} (" . $device->{"Socket Designation"} . ")" :
+ $device->{name} ? $device->{name} :
(defined($device->{description}) ? $device->{description} : $str));
}