Add a condition for a potential scenario

This commit is contained in:
Hoang Hong Quan
2024-07-27 08:26:13 +07:00
parent d760538053
commit 79948d20d7

View File

@@ -692,7 +692,7 @@ class KextMaestro:
if "NVMe" in controller_name or "NVM Express" in controller_props.get("Device Description"):
kexts.append("NVMeFix")
else:
if controller_props.get("Device ID") in pci_data.UnsupportedSATAControllerIDs:
if controller_props.get("Device ID") in pci_data.UnsupportedSATAControllerIDs and not "AHCI" in controller_name:
kexts.append("CtlnaAHCIPort")
for pci_id in usb_controllers: