summaryrefslogtreecommitdiffstats
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
parentbeeba5116f6e35ec1cd4a1588ca4769c27033d17 (diff)
downloaddrakx-c1c7b5d9db1523ea9e2f5e0da1aabc0ba20b7853.tar
drakx-c1c7b5d9db1523ea9e2f5e0da1aabc0ba20b7853.tar.gz
drakx-c1c7b5d9db1523ea9e2f5e0da1aabc0ba20b7853.tar.bz2
drakx-c1c7b5d9db1523ea9e2f5e0da1aabc0ba20b7853.tar.xz
drakx-c1c7b5d9db1523ea9e2f5e0da1aabc0ba20b7853.zip
display more information
-rw-r--r--perl-install/harddrake/data.pm12
-rwxr-xr-xperl-install/standalone/harddrake29
2 files changed, 21 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));
}
diff --git a/perl-install/standalone/harddrake2 b/perl-install/standalone/harddrake2
index 8bbb144f5..4e26beed9 100755
--- a/perl-install/standalone/harddrake2
+++ b/perl-install/standalone/harddrake2
@@ -94,6 +94,15 @@ my %fields =
lun => [ N("Logical unit number"), N("the SCSI target number (LUN). SCSI devices connected to a host are uniquely identified by a
channel number, a target id and a logical unit number") ],
},
+ MEMORY =>
+ {
+ 'Installed Size' => [ N("Installed size"), N("Installed size of the memory bank") ],
+ 'Enabled Size' => [ N("Enabled Size"), N("Enabled size of the memory bank") ],
+ 'name' => [ N("Type"), N("tyme of the memory device") ],
+ 'Current Speed' => [ N("Speed"), N("Speed of the memory bank") ],
+ 'Bank Connections' => [ N("Bank connections"), '' ],
+ 'Socket Designation' => [ N("Name"), N("Socket designation of the memory bank") ],
+ },
MOUSE =>
{
"device" => [ N("Device file"), N("the device file used to communicate with the kernel driver for the mouse") ],