Pass name string into I2C DIMM detectors, store name in KingstonFuryDRAMController to avoid setting it in detector

This commit is contained in:
Adam Honse
2025-08-17 01:17:02 -05:00
parent c82a6052a2
commit 676547b8b0
11 changed files with 222 additions and 242 deletions

View File

@@ -1260,7 +1260,7 @@ void ResourceManager::DetectDevicesCoroutine()
DetectionProgressChanged();
std::vector<SPDWrapper*> matching_slots = slots_with_jedec(slots, i2c_dimm_device_detectors[i2c_detector_idx].jedec_id);
i2c_dimm_device_detectors[i2c_detector_idx].function(busses[bus], matching_slots);
i2c_dimm_device_detectors[i2c_detector_idx].function(busses[bus], matching_slots, i2c_dimm_device_detectors[i2c_detector_idx].name);
}
LOG_TRACE("[%s] detection end", detection_string);