diff options
Diffstat (limited to 'modules-available/statistics/inc/hardwareparser.inc.php')
-rw-r--r-- | modules-available/statistics/inc/hardwareparser.inc.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules-available/statistics/inc/hardwareparser.inc.php b/modules-available/statistics/inc/hardwareparser.inc.php index 8f55493d..9b228c33 100644 --- a/modules-available/statistics/inc/hardwareparser.inc.php +++ b/modules-available/statistics/inc/hardwareparser.inc.php @@ -354,7 +354,9 @@ class HardwareParser ['Socket Designation'], ['Type', 'Family', 'Manufacturer', 'Signature', 'Version', 'Core Count', 'Thread Count'], ['Voltage', 'Current Speed', 'Upgrade', 'Core Enabled']); + // Information about system slots self::updateHwTypeFromDmi($uuid, $data, 9, HardwareInfo::SYSTEM_SLOT, function (array &$entry): bool { + // Use a callback filter to extract PCIe slot metadata into unique fields if (!isset($entry['Type'])) return false; // Split up PCIe info |