From a4bd522566fbde3dcfebd5249c6ec1679c899f16 Mon Sep 17 00:00:00 2001 From: Hoang Hong Quan Date: Tue, 3 Dec 2024 14:07:54 +0700 Subject: [PATCH] Add support for certain Intel onboard LAN controllers --- Scripts/datasets/kext_data.py | 6 ++--- Scripts/datasets/pci_data.py | 44 +++++++++++++++++++++-------------- Scripts/kext_maestro.py | 14 +++++------ 3 files changed, 37 insertions(+), 27 deletions(-) diff --git a/Scripts/datasets/kext_data.py b/Scripts/datasets/kext_data.py index a25c23d..6960276 100644 --- a/Scripts/datasets/kext_data.py +++ b/Scripts/datasets/kext_data.py @@ -320,12 +320,12 @@ kexts = [ } ), KextInfo( - name = "IntelMausi", + name = "IntelMausiEthernet", description = "Intel Ethernet LAN driver for macOS", category = "Ethernet", github_repo = { - "owner": "acidanthera", - "repo": "IntelMausi" + "owner": "CloverHackyColor", + "repo": "IntelMausiEthernet" } ), KextInfo( diff --git a/Scripts/datasets/pci_data.py b/Scripts/datasets/pci_data.py index 75cb591..e22ec3c 100644 --- a/Scripts/datasets/pci_data.py +++ b/Scripts/datasets/pci_data.py @@ -350,13 +350,7 @@ NetworkIDs = [ "1969-E091", "1969-E0A1", "1969-E0B1", - # IntelMausi.kext - "8086-0D4C", - "8086-0D4D", - "8086-0D4E", - "8086-0D4F", - "8086-0D53", - "8086-0D55", + # IntelMausiEthernet.kext "8086-10EA", "8086-10EB", "8086-10EF", @@ -365,29 +359,41 @@ NetworkIDs = [ "8086-1503", "8086-153A", "8086-153B", - "8086-1559", "8086-155A", - "8086-156F", - "8086-1570", + "8086-1559", "8086-15A0", "8086-15A1", "8086-15A2", "8086-15A3", + "8086-156F", + "8086-1570", "8086-15B7", "8086-15B8", - "8086-15B9", - "8086-15BB", - "8086-15BC", - "8086-15BD", - "8086-15BE", - "8086-15D6", "8086-15D7", "8086-15D8", + "8086-15E3", + "8086-15D6", + "8086-15BD", + "8086-15BE", + "8086-15BB", + "8086-15BC", "8086-15DF", "8086-15E0", "8086-15E1", "8086-15E2", - "8086-15E3", + "8086-15B9", + "8086-15F2", + "8086-15F3", + "8086-0D4E", + "8086-0D4F", + "8086-0D4C", + "8086-0D4D", + "8086-0D53", + "8086-0D55", + "8086-0DC5", + "8086-0DC6", + "8086-0DC7", + "8086-0DC8", "8086-15F4", "8086-15F5", "8086-15F9", @@ -402,6 +408,10 @@ NetworkIDs = [ "8086-550B", "8086-550C", "8086-550D", + "8086-550E", + "8086-550F", + "8086-5510", + "8086-5511", # LucyRTL8125Ethernet.kext "10EC-3000", "10EC-8125", diff --git a/Scripts/kext_maestro.py b/Scripts/kext_maestro.py index 0c1926b..e682896 100644 --- a/Scripts/kext_maestro.py +++ b/Scripts/kext_maestro.py @@ -167,17 +167,17 @@ class KextMaestro: selected_kexts.append("AppleIGC") elif 114 < ethernet_pci < 122: selected_kexts.append("AtherosE2200Ethernet") - elif 121 < ethernet_pci < 173: - selected_kexts.append("IntelMausi") - elif 172 < ethernet_pci < 176: + elif 121 < ethernet_pci < 183: + selected_kexts.append("IntelMausiEthernet") + elif 182 < ethernet_pci < 186: selected_kexts.append("LucyRTL8125Ethernet") - elif 175 < ethernet_pci < 177: + elif 185 < ethernet_pci < 187: selected_kexts.append("RealtekRTL8100") - elif 176 < ethernet_pci < 181: + elif 186 < ethernet_pci < 191: selected_kexts.append("RealtekRTL8111") - elif 180 < ethernet_pci < 219: + elif 190 < ethernet_pci < 229: selected_kexts.append("AppleIGB") - elif 218 < ethernet_pci < 248: + elif 228 < ethernet_pci < 258: selected_kexts.append("AppleBCM57XXEthernet") if not ethernet_pci: