summaryrefslogtreecommitdiffstats
path: root/pts-core/functions/pts-functions_system.php
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-09-27 09:46:45 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-09-27 09:46:45 -0400
commitf399dbefba788832c65073bc83449a0790dd72c9 (patch)
treeaef2c54e8eb21ba82914bb968a2b0a187d1298bc /pts-core/functions/pts-functions_system.php
parent06187d9bdf0e83f5b55850d354dfbe7853d49c1e (diff)
downloadphoronix-test-suite-upstream-f399dbefba788832c65073bc83449a0790dd72c9.tar.gz
phoronix-test-suite-upstream-f399dbefba788832c65073bc83449a0790dd72c9.tar.xz
phoronix-test-suite-upstream-f399dbefba788832c65073bc83449a0790dd72c9.zip
pts-core: Add detection support for ATI/AMD Southbridge parts
Diffstat (limited to 'pts-core/functions/pts-functions_system.php')
-rw-r--r--pts-core/functions/pts-functions_system.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/pts-core/functions/pts-functions_system.php b/pts-core/functions/pts-functions_system.php
index 27ccab4..a76d83e 100644
--- a/pts-core/functions/pts-functions_system.php
+++ b/pts-core/functions/pts-functions_system.php
@@ -198,6 +198,13 @@ function motherboard_chipset_string()
$info .= " + " . $southbridge_clean;
}
}
+ else if(($start_cut = strpos($southbridge, "SB")) > 0)
+ {
+ $southbridge_extract = substr($southbridge, $start_cut);
+ $southbridge_extract = substr($southbridge_extract, 0, strpos($southbridge_extract, " "));
+
+ $info .= " + " . $southbridge_extract;
+ }
}
return $info;