diff --git a/Scripts/config_prodigy.py b/Scripts/config_prodigy.py index 0b6e603..830314b 100644 --- a/Scripts/config_prodigy.py +++ b/Scripts/config_prodigy.py @@ -304,7 +304,7 @@ class ConfigProdigy: for network_name, network_props in hardware_report.get("Network", {}).items(): device_id = network_props.get("Device ID") - if device_id in pci_data.NetworkIDs[219:248] and network_props.get("PCI Path"): + if device_id in pci_data.NetworkIDs[219:258] and network_props.get("PCI Path"): deviceproperties_add[network_props.get("PCI Path")] = { "IOName": "pci14e4,16b4", "device-id": self.utils.hex_to_bytes("B4160000") @@ -399,6 +399,23 @@ class ConfigProdigy: elif kext.name == "ForgedInvariant": if not "AMD" in cpu_manufacturer: kernel_patch.extend(self.g.get_amd_kernel_patches()[-6:-4]) + elif kext.name == "CatalinaBCM5701Ethernet": + kernel_patch.append({ + "Arch": "Any", + "Base": "", + "Comment": "Broadcom BCM577XX Patch", + "Count": 1, + "Enabled": True, + "Find": self.utils.hex_to_bytes("E8CA9EFFFF66898300050000"), + "Identifier": "com.apple.iokit.CatalinaBCM5701Ethernet", + "Limit": 0, + "Mask": self.utils.hex_to_bytes(""), + "MaxKernel": "", + "MinKernel": "20.0.0", + "Replace": self.utils.hex_to_bytes("B8B416000066898300050000"), + "ReplaceMask": self.utils.hex_to_bytes(""), + "Skip": 0 + }) for patch in kernel_patch: if "cpuid_cores_per_package" in patch["Comment"]: diff --git a/Scripts/datasets/kext_data.py b/Scripts/datasets/kext_data.py index 6960276..4c6832d 100644 --- a/Scripts/datasets/kext_data.py +++ b/Scripts/datasets/kext_data.py @@ -297,13 +297,13 @@ kexts = [ } ), KextInfo( - name = "AppleBCM57XXEthernet", + name = "CatalinaBCM5701Ethernet", description = "Provides support for Broadcom BCM57XX Ethernet series", category = "Ethernet", min_darwin_version = "20.0.0", download_info = { "id": 821327912, - "url": "https://i.applelife.ru/2021/03/486734_AppleBCM57XXEthernet.kext.zip" + "url": "https://github.com/dortania/OpenCore-Legacy-Patcher/raw/refs/heads/main/payloads/Kexts/Ethernet/CatalinaBCM5701Ethernet-v1.0.2.zip" } ), KextInfo( diff --git a/Scripts/datasets/pci_data.py b/Scripts/datasets/pci_data.py index e22ec3c..7cca414 100644 --- a/Scripts/datasets/pci_data.py +++ b/Scripts/datasets/pci_data.py @@ -492,36 +492,12 @@ NetworkIDs = [ "14E4-16B6", "14E4-16B7", "14E4-16F3", - "14E4-1641", - "14E4-1642", - "14E4-1643", - "14E4-1644", - "14E4-1645", - "14E4-1646", - "14E4-1647", - "14E4-1655", - "14E4-1656", - "14E4-1657", - "14E4-1665", - "14E4-1683", - "14E4-1687", - "14E4-1688", - "14E4-1689", - "14E4-1690", - "14E4-1691", - "14E4-1692", - "14E4-1693", - "14E4-1694", - "14E4-1699", - "14E4-16A0", - "14E4-16B1", - "14E4-16B2", - "14E4-16B3", + # CatalinaBCM5701Ethernet.kext + "14E4-1682", + "14E4-1684", + "14E4-1686", + "14E4-16B0", "14E4-16B4", - "14E4-16B5", - "14E4-16B6", - "14E4-16B7", - "14E4-16F3", # RtWlanU.kext, RtWlanU1827.kext and RT2870USBWirelessDriver.kext "0409-0408", "0411-0242",