From 269687910981f84667524a0f56142fbdd8216d14 Mon Sep 17 00:00:00 2001 From: Eva Luna Date: Thu, 22 Aug 2024 18:58:31 -0400 Subject: [PATCH] Add note for S1X/S3X changes and clarify if statement --- opencore_legacy_patcher/efi_builder/storage.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/opencore_legacy_patcher/efi_builder/storage.py b/opencore_legacy_patcher/efi_builder/storage.py index bed24c556..ee8c0a6b8 100644 --- a/opencore_legacy_patcher/efi_builder/storage.py +++ b/opencore_legacy_patcher/efi_builder/storage.py @@ -150,9 +150,10 @@ class BuildStorage: # Restore S1X/S3X NVMe support removed in 14.0 Beta 2 # Apple's usage of the S1X and S3X is quite sporadic and inconsistent, so we'll try a catch all for units with NVMe drives + # Additionally expanded to cover all Mac models with the 12+16 pin SSD layout, for older machines with newer drives if self.constants.custom_model and self.model in smbios_data.smbios_dictionary: if "CPU Generation" in smbios_data.smbios_dictionary[self.model]: - if cpu_data.CPUGen.haswell <= smbios_data.smbios_dictionary[self.model]["CPU Generation"] <= cpu_data.CPUGen.kaby_lake or self.model in [ "MacPro6,1" ]: + if (cpu_data.CPUGen.haswell <= smbios_data.smbios_dictionary[self.model]["CPU Generation"] <= cpu_data.CPUGen.kaby_lake) or self.model in [ "MacPro6,1" ]: support.BuildSupport(self.model, self.constants, self.config).enable_kext("IOS3XeFamily.kext", self.constants.s3x_nvme_version, self.constants.s3x_nvme_path) # Apple RAID Card check