mirror of
https://github.com/outbackdingo/OpCore-Simplify.git
synced 2026-01-27 10:19:49 +00:00
Add support for Broadcom BCM57XX Ethernet series
This commit is contained in:
@@ -241,7 +241,7 @@ class ConfigProdigy:
|
||||
for network_name, network_props in hardware_report.get("Network", {}).items():
|
||||
device_id = network_props.get("Device ID")
|
||||
|
||||
if self.utils.contains_any(pci_data.NetworkIDs, device_id, start=21, end=108) and network_props.get("PCI Path"):
|
||||
if device_id in pci_data.NetworkIDs[21:108] and network_props.get("PCI Path"):
|
||||
deviceproperties_add[network_props.get("PCI Path")] = {
|
||||
"IOName": "pci14e4,43a0",
|
||||
"compatible": "pci106b,117",
|
||||
@@ -286,6 +286,15 @@ class ConfigProdigy:
|
||||
"model": gpu_name
|
||||
}
|
||||
|
||||
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"):
|
||||
deviceproperties_add[network_props.get("PCI Path")] = {
|
||||
"IOName": "pci14e4,16b4",
|
||||
"device-id": self.utils.hex_to_bytes("B4160000")
|
||||
}
|
||||
|
||||
network_items = hardware_report.get("Network", {}).items()
|
||||
storage_controllers_items = hardware_report.get("Storage Controllers", {}).items()
|
||||
|
||||
|
||||
@@ -296,6 +296,16 @@ kexts = [
|
||||
"repo": "AtherosE2200Ethernet"
|
||||
}
|
||||
),
|
||||
KextInfo(
|
||||
name = "AppleBCM57XXEthernet",
|
||||
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"
|
||||
}
|
||||
),
|
||||
KextInfo(
|
||||
name = "HoRNDIS",
|
||||
description = "Use the USB tethering mode of the Android phone to access the Internet",
|
||||
|
||||
@@ -452,6 +452,66 @@ NetworkIDs = [
|
||||
"8086-1F40",
|
||||
"8086-1F41",
|
||||
"8086-1F45",
|
||||
# FakePCIID_BCM57XX_as_BCM57765.kext
|
||||
"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",
|
||||
"14E4-16B5",
|
||||
"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",
|
||||
"14E4-16B4",
|
||||
"14E4-16B5",
|
||||
"14E4-16B6",
|
||||
"14E4-16B7",
|
||||
"14E4-16F3",
|
||||
# RtWlanU.kext, RtWlanU1827.kext and RT2870USBWirelessDriver.kext
|
||||
"0409-0408",
|
||||
"0411-0242",
|
||||
|
||||
@@ -178,6 +178,8 @@ class KextMaestro:
|
||||
selected_kexts.append("RealtekRTL8111")
|
||||
elif 180 < ethernet_pci < 219:
|
||||
selected_kexts.append("AppleIGB")
|
||||
elif 218 < ethernet_pci < 248:
|
||||
selected_kexts.append("AppleBCM57XXEthernet")
|
||||
|
||||
if not ethernet_pci:
|
||||
selected_kexts.append("NullEthernet")
|
||||
|
||||
Reference in New Issue
Block a user