summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2009-05-27 12:58:04 +0000
committerPascal Terjan <pterjan@mandriva.org>2009-05-27 12:58:04 +0000
commit70605f61c8e145857853a1d8afdf034cd4f2fc18 (patch)
tree71878892ad167176063e3d5a828287a309405a9b /perl-install/detect_devices.pm
parentf2a2778a73cf7f46b9a2a53257bbae99f0771106 (diff)
downloaddrakx-70605f61c8e145857853a1d8afdf034cd4f2fc18.tar
drakx-70605f61c8e145857853a1d8afdf034cd4f2fc18.tar.gz
drakx-70605f61c8e145857853a1d8afdf034cd4f2fc18.tar.bz2
drakx-70605f61c8e145857853a1d8afdf034cd4f2fc18.tar.xz
drakx-70605f61c8e145857853a1d8afdf034cd4f2fc18.zip
do not ignore FB-DIMM memory
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 741a0dfd6..02dd6ef4f 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -1043,7 +1043,7 @@ sub dmidecode_category {
#- size in MB
sub dmi_detect_memory() {
my @l1 = map { $_->{'Enabled Size'} =~ /(\d+) MB/ && $1 } dmidecode_category('Memory Module');
- my @l2 = map { $_->{'Form Factor'} =~ /^(SIMM|SIP|DIP|DIMM|RIMM|SODIMM|SRIMM)$/ &&
+ my @l2 = map { $_->{'Form Factor'} =~ /^(SIMM|SIP|DIP|DIMM|FB-DIMM|RIMM|SODIMM|SRIMM)$/ &&
($_->{Size} =~ /(\d+) MB/ && $1 || $_->{Size} =~ /(\d+) kB/ && $1 * 1024);
} dmidecode_category('Memory Device');
max(sum(@l1), sum(@l2));