Add support for additional SATA controllers

This commit is contained in:
Hoang Hong Quan
2025-03-21 16:30:00 +07:00
parent d7b345b32a
commit 9daa272e44
3 changed files with 41 additions and 25 deletions
+7 -3
View File
@@ -255,9 +255,13 @@ class KextMaestro:
for controller_name, controller_props in hardware_report.get("Storage Controllers", {}).items():
if "NVMe" in controller_name or "NVM Express" in controller_name:
selected_kexts.append("NVMeFix")
else:
if controller_props.get("Device ID") in pci_data.UnsupportedSATAControllerIDs and not "AHCI" in controller_name:
selected_kexts.append("CtlnaAHCIPort")
elif not "AHCI" in controller_name:
if self.utils.parse_darwin_version(macos_version) >= self.utils.parse_darwin_version("20.0.0"):
if controller_props.get("Device ID") in pci_data.UnsupportedSATAControllerIDs:
selected_kexts.append("CtlnaAHCIPort")
else:
if controller_props.get("Device ID") in pci_data.UnsupportedSATAControllerIDs[15:]:
selected_kexts.append("SATA-unsupported")
for controller_name, controller_props in hardware_report.get("USB Controllers").items():
device_id = controller_props.get("Device ID")