diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-09-27 09:46:45 -0400 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-09-27 09:46:45 -0400 |
commit | f399dbefba788832c65073bc83449a0790dd72c9 (patch) | |
tree | aef2c54e8eb21ba82914bb968a2b0a187d1298bc /pts-core/functions/pts-functions_system.php | |
parent | 06187d9bdf0e83f5b55850d354dfbe7853d49c1e (diff) | |
download | phoronix-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.php | 7 |
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; |