mirror of
https://github.com/outbackdingo/OpCore-Simplify.git
synced 2026-09-01 00:59:19 +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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user