summaryrefslogtreecommitdiffstats
path: root/pts-core/functions/pts-functions_system_hardware.php
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-10-08 13:17:44 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-10-08 13:17:44 -0400
commit31aa2bfd1bff2739db88ca802ad705fb7a7637f8 (patch)
tree81549eafea2e2fef847a2fdb88ae93a96241aa10 /pts-core/functions/pts-functions_system_hardware.php
parent9a320ef5b36417610021d7a8e47c732f29765ea3 (diff)
downloadphoronix-test-suite-upstream-31aa2bfd1bff2739db88ca802ad705fb7a7637f8.tar.gz
phoronix-test-suite-upstream-31aa2bfd1bff2739db88ca802ad705fb7a7637f8.tar.xz
phoronix-test-suite-upstream-31aa2bfd1bff2739db88ca802ad705fb7a7637f8.zip
pts-core: Add support for ATA-6 hard drives
Diffstat (limited to 'pts-core/functions/pts-functions_system_hardware.php')
-rw-r--r--pts-core/functions/pts-functions_system_hardware.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/pts-core/functions/pts-functions_system_hardware.php b/pts-core/functions/pts-functions_system_hardware.php
index 8eceaec..d26c128 100644
--- a/pts-core/functions/pts-functions_system_hardware.php
+++ b/pts-core/functions/pts-functions_system_hardware.php
@@ -141,7 +141,7 @@ function system_hard_disks()
do
{
// Calculate disk names
- $search_disk_strings = array("ATA-7", "ATA-8");
+ $search_disk_strings = array("ATA-6", "ATA-7", "ATA-8");
$start_point = -1;
for($i = 0; $i < count($search_disk_strings) && $start_point == -1; $i++)
@@ -243,7 +243,7 @@ function system_hard_disks()
}
if(count($disks) == 0)
- $disks = system_disk_total();
+ $disks = system_disk_total() . "GB";
else
$disks = implode(" + ", $disks);